mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
remove unused exc
This commit is contained in:
parent
f53585d256
commit
823c1e7ffa
@ -438,7 +438,7 @@ def _get_package_info(name):
|
||||
repodata = msgpack.loads(repofile.read()) or {}
|
||||
except:
|
||||
return 'Windows package repo not available'
|
||||
except IOError as exc:
|
||||
except IOError:
|
||||
log.debug('Not able to read repo file')
|
||||
return 'Windows package repo not available'
|
||||
if not repodata:
|
||||
|
Loading…
Reference in New Issue
Block a user