remove unused exc

This commit is contained in:
Thomas S Hatch 2013-02-07 16:14:00 -07:00
parent f53585d256
commit 823c1e7ffa

View File

@ -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: