Bug fix, new job count property had not been updated

This commit is contained in:
amercader 2012-03-07 12:10:32 +00:00
parent 124f3191c8
commit 6cccbb61c9
2 changed files with 2 additions and 2 deletions

View File

@ -253,7 +253,7 @@ class Harvester(CkanCommand):
print ' active: %s' % source['active']
print ' user: %s' % source['user_id']
print 'publisher: %s' % source['publisher_id']
print ' jobs: %s' % len(source['jobs'])
print ' jobs: %s' % source['status']['job_count']
print ''
def print_harvest_jobs(self, jobs):

View File

@ -73,7 +73,7 @@
</tr>
<tr>
<th>Total jobs</th>
<td>${len(c.source.jobs)}</td>
<td>${c.source.status.job_count}</td>
</tr>
<tr>
<th>Status</th>