mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Pylint Fix
This commit is contained in:
parent
cced16a9f4
commit
3d279c0713
1 changed files with 1 additions and 1 deletions
|
@ -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 '
|
||||
|
|
Loading…
Add table
Reference in a new issue