diff --git a/kallithea/lib/paster_commands/repo_scan.py b/kallithea/lib/paster_commands/repo_scan.py --- a/kallithea/lib/paster_commands/repo_scan.py +++ b/kallithea/lib/paster_commands/repo_scan.py @@ -56,12 +56,12 @@ class Command(BasePasterCommand): #get SqlAlchemy session self._init_session() rm_obsolete = self.options.delete_obsolete - log.info('Now scanning root location for new repos...') + print 'Now scanning root location for new repos ...' added, removed = repo2db_mapper(ScmModel().repo_scan(), remove_obsolete=rm_obsolete) added = ', '.join(added) or '-' removed = ', '.join(removed) or '-' - log.info('Scan completed added: %s removed: %s', added, removed) + print 'Scan completed added: %s removed: %s' % (added, removed) def update_parser(self): self.parser.add_option(