add exception type

This commit is contained in:
Ch3LL 2017-04-13 15:06:12 -04:00
parent acf333df08
commit e30afc4c01
No known key found for this signature in database
GPG key ID: E913CB5901E0C81C

View file

@ -10,7 +10,7 @@ from mock import Mock
try:
ERRIO = errno.EREMOTEIO
except:
except AttributeError:
ERRIO = errno.EIO
# Import Salt Testing libs