예제 #1
0
 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
예제 #2
0
 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
예제 #3
0
 def __getstate__(self):
     '''I don't know if this makes sense'''
     dic = BaseService.__getstate__(self)
     if "paused" in dic:
         del dic['paused']
     return dic
예제 #4
0
 def __getstate__(self):
     '''I don't know if this makes sense'''
     dic = BaseService.__getstate__(self)
     if "paused" in dic:
         del dic['paused']
     return dic