Python/BLIP.py
changeset 25 a4875607a3a0
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	Tue Dec 02 22:42:56 2008 -0800
     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."