Do not output messages when running the 'run' command
This commit is contained in:
parent
9018beeedb
commit
5fb6512d82
|
@ -181,8 +181,12 @@ class Harvester(CkanCommand):
|
||||||
self.print_there_are(what='harvest job', sequence=jobs)
|
self.print_there_are(what='harvest job', sequence=jobs)
|
||||||
|
|
||||||
def run_harvester(self):
|
def run_harvester(self):
|
||||||
jobs = run_harvest_jobs()
|
try:
|
||||||
print 'Sent %s jobs to the gather queue' % len(jobs)
|
jobs = run_harvest_jobs()
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
sys.exit(1)
|
||||||
|
#print 'Sent %s jobs to the gather queue' % len(jobs)
|
||||||
|
|
||||||
def print_harvest_sources(self, sources):
|
def print_harvest_sources(self, sources):
|
||||||
if sources:
|
if sources:
|
||||||
|
|
Loading…
Reference in New Issue