Fix PEP8: line continuation

This commit is contained in:
Bo Maryniuk 2016-01-22 18:38:40 +01:00
parent ece35ebc26
commit ea75f55a1a

View File

@ -1442,11 +1442,8 @@ def latest(
msg = 'No information found for \'{0}\'.'.format(pkg)
log.error(msg)
problems.append(msg)
elif not cur[pkg] \
or salt.utils.compare_versions(ver1=cur[pkg],
oper='<',
ver2=avail[pkg],
cmp_func=cmp_func):
elif pkg not in cur \
or salt.utils.compare_versions(ver1=cur[pkg], oper='<', ver2=avail[pkg], cmp_func=cmp_func):
targets[pkg] = avail[pkg]
if problems: