Pylint Fix

This commit is contained in:
rallytime 2015-08-07 11:05:52 -06:00
parent cced16a9f4
commit 3d279c0713

View file

@ -3558,7 +3558,7 @@ def manage_file(name,
ret, 'Source file {0!r} not found'.format(source))
# If the downloaded file came from a non salt server or local source
# verify that it matches the intended sum value
if _urlparse(source).scheme not in ('salt','') :
if _urlparse(source).scheme not in ('salt', ''):
dl_sum = get_hash(sfn, source_sum['hash_type'])
if dl_sum != source_sum['hsum']:
ret['comment'] = ('File sum set for file {0} of {1} does '