changeset 48 | 2b4ad2067074 |
parent 14 | bb5faa9995d5 |
child 51 | de59ce19f42e |
1.1 --- a/Python/BLIP.py Wed Jun 04 21:09:45 2008 -0700 1.2 +++ b/Python/BLIP.py Sat May 16 14:24:06 2009 -0700 1.3 @@ -421,7 +421,7 @@ 1.4 1.5 @property 1.6 def sent(self): 1.7 - return 'encoded' in self.__dict__ 1.8 + return hasattr(self,'encoded') 1.9 1.10 def _encode(self): 1.11 "Generates the message's encoded form, prior to sending it."