Skip to content

Commit

Permalink
could this be the stupidest bug ever, wrong parameters passed to init…
Browse files Browse the repository at this point in the history
…() :(
  • Loading branch information
examachine committed Feb 24, 2017
1 parent 28902c5 commit 5920d98
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pisi/cli/clean.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
_ = __trans.ugettext

import pisi
import pisi.cli
#import pisi.cli

class Error(pisi.Error):
pass
Expand All @@ -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()

0 comments on commit 5920d98

Please sign in to comment.