Changeset 2514

Show
Ignore:
Timestamp:
09/27/05 20:51:37 (19 years ago)
Author:
jerome
Message:

Renamed a method.

Files:
1 modified

Legend:

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

    r2417 r2514  
    151151                self.dictags[value] = i 
    152152         
    153     def printInfo(self, msg) :     
     153    def logdebug(self, msg) :     
    154154        """Prints a debug message.""" 
    155155        if self.debug : 
     
    270270        oldval = self._curdict.setdefault(name, []) 
    271271        oldval.append((tagtype, value)) 
    272         self.printInfo("%s(%s) : %s" % (name, tagtype, value)) 
     272        self.logdebug("%s(%s) : %s" % (name, tagtype, value)) 
    273273        return posend - self.position 
    274274         
    275275    def operation_attributes_tag(self) :  
    276276        """Indicates that the parser enters into an operation-attributes-tag group.""" 
    277         self.printInfo("Start of operation_attributes_tag") 
     277        self.logdebug("Start of operation_attributes_tag") 
    278278        self._curdict = self.operation_attributes 
    279279        return self.parseTag() 
     
    281281    def job_attributes_tag(self) :  
    282282        """Indicates that the parser enters into a job-attributes-tag group.""" 
    283         self.printInfo("Start of job_attributes_tag") 
     283        self.logdebug("Start of job_attributes_tag") 
    284284        self._curdict = self.job_attributes 
    285285        return self.parseTag() 
     
    287287    def printer_attributes_tag(self) :  
    288288        """Indicates that the parser enters into a printer-attributes-tag group.""" 
    289         self.printInfo("Start of printer_attributes_tag") 
     289        self.logdebug("Start of printer_attributes_tag") 
    290290        self._curdict = self.printer_attributes 
    291291        return self.parseTag() 
     
    293293    def unsupported_attributes_tag(self) :  
    294294        """Indicates that the parser enters into an unsupported-attributes-tag group.""" 
    295         self.printInfo("Start of unsupported_attributes_tag") 
     295        self.logdebug("Start of unsupported_attributes_tag") 
    296296        self._curdict = self.unsupported_attributes 
    297297        return self.parseTag() 
     
    299299    def subscription_attributes_tag(self) :  
    300300        """Indicates that the parser enters into a subscription-attributes-tag group.""" 
    301         self.printInfo("Start of subscription_attributes_tag") 
     301        self.logdebug("Start of subscription_attributes_tag") 
    302302        self._curdict = self.subscription_attributes 
    303303        return self.parseTag() 
     
    305305    def event_notification_attributes_tag(self) :  
    306306        """Indicates that the parser enters into an event-notification-attributes-tag group.""" 
    307         self.printInfo("Start of event_notification_attributes_tag") 
     307        self.logdebug("Start of event_notification_attributes_tag") 
    308308        self._curdict = self.event_notification_attributes 
    309309        return self.parseTag()