Kaydet (Commit) 72bcff44 authored tarafından Fatih Aşıcı's avatar Fatih Aşıcı

addrepo: Handle all pisi errors occurred when updating the new repo

BUG:FIXED:18309
üst a35c588c
......@@ -70,7 +70,7 @@ NB: We support only local files (e.g., /a/b/c) and http:// URIs at the moment
if not ctx.get_option('no_fetch'):
try:
pisi.api.update_repo(name)
except (pisi.fetcher.FetchError, IOError):
except (pisi.Error, IOError):
warning = _("%s repository could not be reached. Removing %s from system.") % (name, name)
self.warn_and_remove(warning, name)
else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment