Remove __slots__, __getstate__ and __setstate__
svn: r11049
This commit is contained in:
parent
6e89f69278
commit
5e290c4329
@ -49,14 +49,6 @@ class EventRef(SecondaryObject, PrivacyBase, NoteBase, AttributeBase, RefBase):
|
||||
to the refereneced event.
|
||||
"""
|
||||
|
||||
__slots__=('__role','ref')
|
||||
|
||||
def __getstate__(self):
|
||||
return{'__role': self.__role,'ref': self.ref}
|
||||
def __setstate__(self,dict_):
|
||||
self.__role = dict_['__role']
|
||||
self.ref = dict_['ref']
|
||||
|
||||
def __init__(self, source=None):
|
||||
"""
|
||||
Create a new EventRef instance, copying from the source if present.
|
||||
|
Loading…
Reference in New Issue
Block a user