From: Stephen Soltesz Date: Wed, 7 Nov 2007 21:21:28 +0000 (+0000) Subject: Added 'FORCED' to handle some special actions X-Git-Tag: Monitor-1.0-0~34 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=53b89a5c6c3f30597e61691b6d7c5a76be363ab0;p=monitor.git Added 'FORCED' to handle some special actions --- diff --git a/www/printbadnodes.py b/www/printbadnodes.py index 95bddf4..2f86db7 100755 --- a/www/printbadnodes.py +++ b/www/printbadnodes.py @@ -63,7 +63,7 @@ def cmpState(l1, l2): return cmpMap(l1,l2,'state', map) def cmpCategoryVal(v1, v2): - map = array_to_priority_map([ None, 'ALPHA', 'PROD', 'OLDBOOTCD', 'UNKNOWN', 'ERROR', ]) + map = array_to_priority_map([ None, 'ALPHA', 'PROD', 'OLDBOOTCD', 'UNKNOWN', 'FORCED', 'ERROR', ]) return cmpValMap(v1,v2,map) def cmpCategory(l1, l2):