I was too optimistic

This commit is contained in:
Faik Uygur
2007-06-13 07:00:51 +00:00
parent 04a6c77024
commit 97d668bac4
+1 -1
View File
@@ -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