mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
Avoid using single-letter variable
This commit is contained in:
parent
69ef81caba
commit
a19fa2296a
@ -1996,8 +1996,8 @@ def version_cmp(pkg1, pkg2):
|
||||
elif distutils.version.LooseVersion(pkg1) > \
|
||||
distutils.version.LooseVersion(pkg2):
|
||||
return 1
|
||||
except Exception as e:
|
||||
log.exception(e)
|
||||
except Exception as exc:
|
||||
log.exception(exc)
|
||||
return None
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user