Do not output messages when running the 'run' command

This commit is contained in:
Adrià Mercader 2011-04-15 15:35:19 +01:00
parent 9018beeedb
commit 5fb6512d82
1 changed files with 6 additions and 2 deletions

View File

@ -181,8 +181,12 @@ class Harvester(CkanCommand):
self.print_there_are(what='harvest job', sequence=jobs)
def run_harvester(self):
try:
jobs = run_harvest_jobs()
print 'Sent %s jobs to the gather queue' % len(jobs)
except:
pass
sys.exit(1)
#print 'Sent %s jobs to the gather queue' % len(jobs)
def print_harvest_sources(self, sources):
if sources: