mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Avoid using single-letter variable
This commit is contained in:
parent
69ef81caba
commit
a19fa2296a
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue