From 13bbb6cba6656e4f6ed8800af15389e3fa26c893 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eray=20=C3=96zkural?= Date: Thu, 23 Mar 2006 14:55:58 +0000 Subject: [PATCH] * be smart --- pisi/index.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pisi/index.py b/pisi/index.py index 933e61b9..60834825 100644 --- a/pisi/index.py +++ b/pisi/index.py @@ -85,6 +85,7 @@ class Index(XmlFile): ctx.packagedb.remove_repo(repo, txn=txn) for pkg in self.packages: ctx.packagedb.add_package(pkg, repo, txn=txn) + ctx.sourcedb.remove_repo(repo, txn=txn) for sf in self.specs: ctx.sourcedb.add_spec(sf, repo, txn=txn)