def clear_alarms(alarm):
 if _TRAFFICCTL:
  cmd = _traffic_ctl('alarm', 'clear', alarm)
 else:
  cmd = _traffic_line('--clear_alarms', alarm)
 log.debug('Running: %s', cmd)
 return _subprocess(cmd)

def clear_alarms ( alarm ) : if _TRAFFICCTL : cmd = _traffic_ctl ( 'alarm' , 'clear' , alarm ) else : cmd = _traffic_line ( '--clear_alarms' , alarm ) log . debug ( 'Running: %s' , cmd ) return _subprocess ( cmd )
clear an alarm event .