- # for legacy actions
- if 'bucket' in y and y['bucket'][0] == 'dbg':
- # Only bootcd debugs made it to the act_all db.
- y['prev_category'] = "OLDBOOTCD"
- elif 'bucket' in y and y['bucket'][0] == 'down':
- y['prev_category'] = "ERROR"
- elif 'bucket' not in y:
- # for all other actions, just carry over the
- # previous category
- y['prev_category'] = y['category']
- else:
- print "UNKNOWN state for record: %s" % y
- sys.exit(1)
+ ## for legacy actions
+ #if 'bucket' in y and y['bucket'][0] == 'dbg':
+ # # Only bootcd debugs made it to the act_all db.
+ # y['prev_category'] = "OLDBOOTCD"
+ #elif 'bucket' in y and y['bucket'][0] == 'down':
+ # y['prev_category'] = "ERROR"
+ #elif 'bucket' not in y:
+ # # for all other actions, just carry over the
+ # # previous category
+ # y['prev_category'] = y['category']
+ #else:
+ # print "UNKNOWN state for record: %s" % y
+ # sys.exit(1)
+