From: Thierry Parmentelat Date: Tue, 10 Jul 2012 15:06:37 +0000 (+0200) Subject: show stuff only when verbose X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=c631de8b694c763f714427b42d88aacc77593d37;p=infrastructure.git show stuff only when verbose --- diff --git a/scripts/clean-backupdb.py b/scripts/clean-backupdb.py index b689943..b844a05 100755 --- a/scripts/clean-backupdb.py +++ b/scripts/clean-backupdb.py @@ -205,6 +205,7 @@ class Kind: group.epilogue() def show (self): + if not self.options.verbose: return print 30*'-',"%s-.%s"%(self.prefix,self.suffix) entries=len(self.list) print " %d entries" % entries,