port_stats: BUG: stop confusing YELLOW and SLATE
This commit is contained in:
parent
972370e9df
commit
1eb2d798a6
@ -32,7 +32,7 @@ def _colorize(base_package, new_package):
|
||||
return 'ORANGE'
|
||||
|
||||
c = rpm_ffi.evr_cmp(base_package.evr, new_package.evr, 'pkg')
|
||||
if c < 0: # base package is newer
|
||||
if c > 0: # base package is newer
|
||||
return 'YELLOW'
|
||||
return 'SLATE'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user