From 4539137d6a410374195d7c3f68083f1276b27afc Mon Sep 17 00:00:00 2001 From: Faik Uygur Date: Wed, 20 Jan 2010 07:44:52 +0000 Subject: [PATCH] When the last dependency package of is removed. the reverse dep should also be removed. This was working, but missed the attributes part.. So it was working for the Dependency tag without attributes like versionFrom, versionTo, ... --- pisi/db/installdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pisi/db/installdb.py b/pisi/db/installdb.py index 02c6d932..c9e4dcf4 100644 --- a/pisi/db/installdb.py +++ b/pisi/db/installdb.py @@ -212,7 +212,7 @@ class InstallDB(lazydb.LazyDB): def __create_dependency(self, depStr): if "" in depStr: anydependency = pisi.specfile.AnyDependency() - for dep in re.compile('(.*?)').findall(depStr): + for dep in re.compile('(.*?)').findall(depStr): anydependency.dependencies.append(self.__make_dependency(dep)) return anydependency else: