- mark_replaced_packges is not global

This commit is contained in:
Faik Uygur
2007-06-13 07:23:43 +00:00
parent bdf99ee0e2
commit 59cf59ffa3
+1 -1
View File
@@ -118,7 +118,7 @@ class PackageDB(object):
self.dr.add_item(dep_name, [ (name, dep) ], repo, txn) self.dr.add_item(dep_name, [ (name, dep) ], repo, txn)
if package_info.replaces: if package_info.replaces:
mark_replaced_packages(self, package_info, repo, txn=None) self.mark_replaced_packages(self, package_info, repo, txn=None)
# add component # add component
ctx.componentdb.add_package(package_info.partOf, package_info.name, repo, txn) ctx.componentdb.add_package(package_info.partOf, package_info.name, repo, txn)