Python/BLIP.py
changeset 28 732576fa8a0d
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	Mon Apr 27 09:03:56 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."