Kaydet (Commit) 28857f41 authored tarafından frknkrc44's avatar frknkrc44

Bug fixes 48

üst cbff3837
...@@ -444,7 +444,12 @@ def upgrade_base(A=None): ...@@ -444,7 +444,12 @@ def upgrade_base(A=None):
return set() return set()
def is_upgradable(name, installdb, packagedb): def is_upgradable(name, installdb=None, packagedb=None):
if not installdb:
installdb = inary.db.installdb.InstallDB()
if not packagedb:
packagedb = inary.db.packagedb.PackageDB()
if not installdb.has_package(name): if not installdb.has_package(name):
return False return False
......
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