From 2dfde21b885bf9546011feb3d1e59a1790817f0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ozan=20=C3=87a=C4=9Flayan?= Date: Wed, 10 Sep 2008 10:41:43 +0000 Subject: [PATCH] When building a standalone pisi package, only the first unsatisfied runtime dependency was resolved. This is now fixed by comparing the package names instead of dependency object references. --- pisi/operations/install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pisi/operations/install.py b/pisi/operations/install.py index a0f0d57c..6c2c6a33 100644 --- a/pisi/operations/install.py +++ b/pisi/operations/install.py @@ -126,7 +126,7 @@ def install_pkg_files(package_URIs): pkg = d_t[name] deps = pkg.runtimeDependencies() for dep in deps: - if not satisfiesDep(dep) and dep not in dep_unsatis: + if not satisfiesDep(dep) and dep.package not in [x.package for x in dep_unsatis]: dep_unsatis.append(dep) # now determine if these unsatisfied dependencies could