Fix update_days() report
The prevous commit has broken it.
This commit is contained in:
parent
8af9e1d7b1
commit
037474ab50
@ -64,6 +64,12 @@ def package_one_line(name, by_name, package_tasks, separator='\t'):
|
||||
lists.format_evr(np), tasks_str))
|
||||
|
||||
|
||||
def format_colored_task(info, by_name):
|
||||
return tasks.format_task(
|
||||
info,
|
||||
extra_info=colorize.package_colorizer(by_name, 'NONE'))
|
||||
|
||||
|
||||
def update_days(by_name, package_tasks, update_times, now):
|
||||
java = []
|
||||
recent = []
|
||||
@ -71,7 +77,7 @@ def update_days(by_name, package_tasks, update_times, now):
|
||||
|
||||
for name in by_name:
|
||||
color, bp, np = by_name[name]
|
||||
if color == 'RED':
|
||||
if color == 'RED' or color == 'NONE':
|
||||
continue
|
||||
|
||||
last_update = update_times.get(name, 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user