def remove_driver(notification_driver):
 _get_drivers()
 removed = False
 if (notification_driver in drivers):
  drivers.remove(notification_driver)
  removed = True
 else:
  for driver in drivers:
   if (_object_name(driver) == notification_driver):
    drivers.remove(driver)
    removed = True
 if (not removed):
  raise ValueError(('Cannot remove; %s is not in list' % notification_driver))

def remove_driver ( notification_driver ) : _get_drivers ( ) removed = False if ( notification_driver in drivers ) : drivers . remove ( notification_driver ) removed = True else : for driver in drivers : if ( _object_name ( driver ) == notification_driver ) : drivers . remove ( driver ) removed = True if ( not removed ) : raise ValueError ( ( 'Cannot remove; %s is not in list' % notification_driver ) )
remove a notification driver at runtime .