mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
add exception type
This commit is contained in:
parent
acf333df08
commit
e30afc4c01
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ from mock import Mock
|
|||
|
||||
try:
|
||||
ERRIO = errno.EREMOTEIO
|
||||
except:
|
||||
except AttributeError:
|
||||
ERRIO = errno.EIO
|
||||
|
||||
# Import Salt Testing libs
|
||||
|
|
Loading…
Add table
Reference in a new issue