mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
python 3 erize exception
This commit is contained in:
parent
19cc076bd3
commit
1c31ddae12
@ -58,7 +58,7 @@ def available_version(*names):
|
||||
# return data.
|
||||
if name in names:
|
||||
ret[name] = version
|
||||
except ValueError, IndexError:
|
||||
except (ValueError, IndexError):
|
||||
pass
|
||||
|
||||
# Return a string if only one package name passed
|
||||
|
Loading…
Reference in New Issue
Block a user