From 5e290c4329c1ca396982797b8071d6d4790b93bb Mon Sep 17 00:00:00 2001 From: Gerald Britton Date: Tue, 9 Sep 2008 19:54:27 +0000 Subject: [PATCH] Remove __slots__, __getstate__ and __setstate__ svn: r11049 --- src/gen/lib/eventref.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/gen/lib/eventref.py b/src/gen/lib/eventref.py index d9f85acf3..7db161bff 100644 --- a/src/gen/lib/eventref.py +++ b/src/gen/lib/eventref.py @@ -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.