From eadd91af8069a0908802bd28efc55ce1aa5a7b85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eray=20=C3=96zkural?= Date: Sat, 17 Jun 2006 14:56:47 +0000 Subject: [PATCH] * fix: removing sources, not packages --- pisi/component.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pisi/component.py b/pisi/component.py index d96f9946..ce929690 100644 --- a/pisi/component.py +++ b/pisi/component.py @@ -195,7 +195,7 @@ class ComponentDB(object): repo = self.d.which_repo(component_name, txn=txn) # get default repo then component = self.get_component(component_name, repo, txn) if spec in component.sources: - component.packages.remove(spec) + component.sources.remove(spec) self.d.add_item(component_name, component, repo, txn) # update ctx.txn_proc(lambda x: proc(txn, repo), txn)