def dowork(self, result): cb = get_cbapi(self.service) if self.configuration.get("inputtype", "cbevent") == "cbevent": return self.do_cbevent(cb, result) else: return self.do_genericevent(cb, result)
def dowork(self, result): cb = get_cbapi(self.service) return self.do_cbevent(cb, result)