def __init__(self, *args, **kwargs): try: watch = kwargs['watchfor'] except KeyError: watch = [] kwargs['watchfor'] = watch + [event.MeasureDosePublishEvent] Reference.__init__(self, *args, **kwargs) self.start()
def __init__(self, *args, **kwargs): try: watch = kwargs['watchfor'] except KeyError: watch = [] kwargs['watchfor'] = watch + [event.AlignZeroLossPeakPublishEvent] Reference.__init__(self, *args, **kwargs) self.start()