mbnames: remove non-required argument
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
parent
38c6785636
commit
520e99d8b6
@ -51,7 +51,7 @@ def prune(accounts):
|
|||||||
if _mbnames.is_enabled() is True:
|
if _mbnames.is_enabled() is True:
|
||||||
_mbnames.prune(accounts)
|
_mbnames.prune(accounts)
|
||||||
else:
|
else:
|
||||||
_mbnames.pruneAll(accounts)
|
_mbnames.pruneAll()
|
||||||
|
|
||||||
|
|
||||||
def write():
|
def write():
|
||||||
@ -214,7 +214,7 @@ class _Mbnames(object):
|
|||||||
if removals is False:
|
if removals is False:
|
||||||
self.ui.info("no cache file to remove")
|
self.ui.info("no cache file to remove")
|
||||||
|
|
||||||
def pruneAll(self, accounts):
|
def pruneAll(self):
|
||||||
for intermediateFile in self._iterIntermediateFiles():
|
for intermediateFile in self._iterIntermediateFiles():
|
||||||
self._removeIntermediateFile(intermediateFile)
|
self._removeIntermediateFile(intermediateFile)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user