From 5920d98072968fcd34392ab5143e287575eb423c Mon Sep 17 00:00:00 2001 From: Eray Ozkural Date: Fri, 24 Feb 2017 22:23:55 +0300 Subject: [PATCH] could this be the stupidest bug ever, wrong parameters passed to init() :( --- pisi/cli/clean.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pisi/cli/clean.py b/pisi/cli/clean.py index 2e44691..06dfda8 100644 --- a/pisi/cli/clean.py +++ b/pisi/cli/clean.py @@ -16,7 +16,7 @@ _ = __trans.ugettext import pisi -import pisi.cli +#import pisi.cli class Error(pisi.Error): pass @@ -39,6 +39,7 @@ def __init__(self, args=None): name = ("clean", None) def run(self): - self.init() + self.init(database=False, write=False) pisi.util.clean_locks() self.finalize() +