# HG changeset patch # User Mads Kiilerich # Date 2016-09-06 00:51:18 # Node ID ed55f404b28c8f006b18e2c0d92009d1841c22d5 # Parent e7b18393450a8e46f37bf5d4a23fee75c7aad4ea paster: show cleanup progress info while walking directories - it can take a while if it starts walking in the wrong places diff --git a/kallithea/lib/paster_commands/cleanup.py b/kallithea/lib/paster_commands/cleanup.py --- a/kallithea/lib/paster_commands/cleanup.py +++ b/kallithea/lib/paster_commands/cleanup.py @@ -90,6 +90,8 @@ class Command(BasePasterCommand): self._extract_date(loc)]) else: dirs.append(loc) + if dirs: + print 'Scanning: %s' % dn_ #filter older than (if present)! now = datetime.datetime.now()