mbnames: remove non-required argument

Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Nicolas Sebrecht 2016-08-26 01:38:03 +02:00
parent 38c6785636
commit 520e99d8b6

View File

@ -51,7 +51,7 @@ def prune(accounts):
if _mbnames.is_enabled() is True:
_mbnames.prune(accounts)
else:
_mbnames.pruneAll(accounts)
_mbnames.pruneAll()
def write():
@ -214,7 +214,7 @@ class _Mbnames(object):
if removals is False:
self.ui.info("no cache file to remove")
def pruneAll(self, accounts):
def pruneAll(self):
for intermediateFile in self._iterIntermediateFiles():
self._removeIntermediateFile(intermediateFile)