changeset 6164:ed55f404b28c

paster: show cleanup progress info while walking directories - it can take a while if it starts walking in the wrong places
author Mads Kiilerich <madski@unity3d.com>
date Tue, 06 Sep 2016 00:51:18 +0200
parents e7b18393450a
children 8dcf73cc9098
files kallithea/lib/paster_commands/cleanup.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/lib/paster_commands/cleanup.py	Tue Sep 06 00:51:18 2016 +0200
+++ b/kallithea/lib/paster_commands/cleanup.py	Tue Sep 06 00:51:18 2016 +0200
@@ -90,6 +90,8 @@
                                       self._extract_date(loc)])
                 else:
                     dirs.append(loc)
+            if dirs:
+                print 'Scanning: %s' % dn_
 
         #filter older than (if present)!
         now = datetime.datetime.now()