Merge pull request #31948 from rallytime/disable-pylint-error

Revert "not not" deletion and add comment as to why that is there
This commit is contained in:
Nicole Thomas 2016-03-17 11:00:22 -06:00
commit a86490ee68

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):