Ignore:
Timestamp:
3 Mar 2015, 08:58:38 (10 years ago)
Author:
Henrik Bettermann
Message:

Implement simple contract statistics report.

Location:
main/waeup.ikoba/trunk/src/waeup/ikoba
Files:
8 added
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/browser/reports.py

    r11949 r12659  
    6565            gen_title = getattr(generator, 'title', 'Unknown')
    6666            args = ', '.join([str(x) for x in job.kwargs['kw'].values()])
    67             descr = '%s (%s)' % (gen_title, args)
     67            if args:
     68                descr = '%s (%s)' % (gen_title, args)
     69            else:
     70                descr = gen_title
    6871            status = job.finished and 'ready' or 'running'
    6972            status = job.failed and 'FAILED' or status
Note: See TracChangeset for help on using the changeset viewer.