# HG changeset patch # User Mads Kiilerich # Date 1473115878 -7200 # Node ID e7b18393450a8e46f37bf5d4a23fee75c7aad4ea # Parent 9c5f794df7cd2483e895fd90f379d5e0b4482698 paster: fix output from update-repoinfo - only mention cache invalidation when cache actually was invalidated diff -r 9c5f794df7cd -r e7b18393450a kallithea/lib/paster_commands/update_repoinfo.py --- a/kallithea/lib/paster_commands/update_repoinfo.py Tue Sep 06 00:51:18 2016 +0200 +++ b/kallithea/lib/paster_commands/update_repoinfo.py Tue Sep 06 00:51:18 2016 +0200 @@ -66,7 +66,9 @@ if self.options.invalidate_cache: for r in repo_list: r.set_invalidate() - print 'Updated cache for %s repositories' % (len(repo_list)) + print 'Updated repo info and invalidated cache for %s repositories' % (len(repo_list)) + else: + print 'Updated repo info for %s repositories' % (len(repo_list)) def update_parser(self): self.parser.add_option('--update-only',