I was too optimistic
This commit is contained in:
+1
-1
@@ -280,7 +280,7 @@ def is_upgradable(name, ignore_build = False):
|
||||
pkg = ctx.packagedb.get_package(name)
|
||||
except KeyboardInterrupt:
|
||||
raise
|
||||
except pisi.itembyrepodb.NotfoundError:
|
||||
except Exception, e: #FIXME: what exception could we catch here, replace with that.
|
||||
# it may be a replaced package
|
||||
if ctx.packagedb.has_replacement(name):
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user