From 1aa335e97dd11eeb7a8ab0c0fcc0fe0baab59b8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eray=20=C3=96zkural?= Date: Mon, 27 Mar 2006 11:16:40 +0000 Subject: [PATCH] typo --- pisi/packagedb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pisi/packagedb.py b/pisi/packagedb.py index f0400b29..fc0272b5 100644 --- a/pisi/packagedb.py +++ b/pisi/packagedb.py @@ -117,7 +117,7 @@ class PackageDB(object): def proc(txn): package_info = self.d.get_item(name, repo, txn=txn) self.d.remove_item(name, repo, txn=txn) - if self.dr.has_item(name, repo, txn=txn): + if self.dr.has_key(name, repo, txn=txn): self.dr.remove_item(name, repo, txn=txn) #WORKAROUND: do not remove component if it is not in repo if type(repo)==types.StringType: