Mercurial > kallithea
changeset 6163:e7b18393450a
paster: fix output from update-repoinfo - only mention cache invalidation when cache actually was invalidated
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Tue, 06 Sep 2016 00:51:18 +0200 |
parents | 9c5f794df7cd |
children | ed55f404b28c |
files | kallithea/lib/paster_commands/update_repoinfo.py |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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',