def __getstate__(self): '''I don't know if this makes sense''' dic = BaseService.__getstate__(self) if "instance" in dic: del dic['instance'] if "sigreloaded" in dic: del dic['sigreloaded'] if "periodicTask" in dic: del dic['periodicTask'] return dic
def __getstate__(self): """I don't know if this makes sense""" dic = BaseService.__getstate__(self) if "instance" in dic: del dic["instance"] if "sigreloaded" in dic: del dic["sigreloaded"] if "periodicTask" in dic: del dic["periodicTask"] return dic
def __getstate__(self): '''I don't know if this makes sense''' dic = BaseService.__getstate__(self) if "paused" in dic: del dic['paused'] return dic