Revert "not not" deletion and add comment as to why that is there

This commit is contained in:
rallytime 2016-03-17 09:39:14 -06:00
parent 9ab4d6164b
commit 86196cd59d

View file

@ -326,7 +326,8 @@ def upgrade_available(name):
salt '*' pkg.upgrade_available <package name>
'''
return latest_version(name)
# The "not not" tactic is intended here as it forces the return to be False.
return not not latest_version(name) # pylint: disable=C0113
def version(*names, **kwargs):