

def handle_delete_meter(self, handle, connection, match, data, hdr):
    try:
        self.metering.unregister(match.group(1))
        status = calvinresponse.OK
    except:
        _log.exception('handle_delete_meter')
        status = calvinresponse.NOT_FOUND
    self.send_response(handle, connection, None, status=status)

dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/runtime/north/calvincontrol.py CalvinControl.handle_delete_meter/original