From 07e7053b850488071b3ed17f5c367720b774bb18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Wed, 15 Mar 2006 22:05:04 +0000 Subject: [PATCH] fix #2336 --- pisi/cli/commands.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pisi/cli/commands.py b/pisi/cli/commands.py index f1401898..c6cfb6bd 100644 --- a/pisi/cli/commands.py +++ b/pisi/cli/commands.py @@ -824,6 +824,8 @@ NB: We support only local files (e.g., /a/b/c) and http:// URIs at the moment def run(self): + self.init(database=False) + if len(self.args)==2 or len(self.args)==0: self.init() if len(self.args)==2: @@ -857,6 +859,8 @@ Remove all repository information from the system. def run(self): + self.init(database=False) + if len(self.args)>=1: self.init() for repo in self.args: