[Uludag-commits] r15569 - branches/pisi-db/pisi/db
uludag-commits at pardus.org.tr
uludag-commits at pardus.org.tr
1 Eki 2007 Pzt 10:53:34 EEST
Author: faik
Date: Mon Oct 1 10:53:34 2007
New Revision: 15569
Modified:
branches/pisi-db/pisi/db/installdb.py
branches/pisi-db/pisi/db/packagedb.py
Log:
dependency info fix
dependency name is set to rev_dep package name but it should be
the dependent package name
Modified: branches/pisi-db/pisi/db/installdb.py
=================================================================
--- branches/pisi-db/pisi/db/installdb.py (original)
+++ branches/pisi-db/pisi/db/installdb.py Mon Oct 1 10:53:34 2007
@@ -134,7 +134,7 @@
if self.rev_deps_db.has_key(name):
for pkg, dep in self.rev_deps_db[name]:
dependency = pisi.dependency.Dependency()
- dependency.package = pkg
+ dependency.package = name
if dep.attributes():
dependency.__dict__[dep.attributes()[0]] = dep.getAttribute(dep.attributes()[0])
rev_deps.append((pkg, dependency))
Modified: branches/pisi-db/pisi/db/packagedb.py
=================================================================
--- branches/pisi-db/pisi/db/packagedb.py (original)
+++ branches/pisi-db/pisi/db/packagedb.py Mon Oct 1 10:53:34 2007
@@ -118,7 +118,7 @@
rev_deps = []
for pkg, dep in rvdb:
dependency = pisi.dependency.Dependency()
- dependency.package = pkg
+ dependency.package = name
if dep.attributes():
dependency.__dict__[dep.attributes()[0]] = dep.getAttribute(dep.attributes()[0])
rev_deps.append((pkg, dependency))
Uludag-commits mesaj listesiyle ilgili
daha fazla bilgi