Changeset 2956 for pykota

Show
Ignore:
Timestamp:
06/22/06 06:43:29 (18 years ago)
Author:
jerome
Message:

Fixed parser to correctly handle event notification attributes.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/ipp.py

    r2622 r2956  
    105105        self.tags[0x05] = "unsupported-attributes-tag" 
    106106        self.tags[0x06] = "subscription-attributes-tag" 
    107         self.tags[0x07] = "event-notification-attributes-tag" 
     107        self.tags[0x07] = "event_notification-attributes-tag" 
    108108         
    109109        # out of band values 
     
    222222        self.position = 8 
    223223        endofattributes = self.dictags["end-of-attributes-tag"] 
    224         maxdelimiter = self.dictags["event-notification-attributes-tag"] 
     224        maxdelimiter = self.dictags["event_notification-attributes-tag"] 
    225225        try : 
    226226            tag = ord(self._data[self.position])