Changeset 655

Show
Ignore:
Timestamp:
09/28/05 23:23:29 (19 years ago)
Author:
jerome
Message:

Renamed a method

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • tea4cups/trunk/tea4cups

    r653 r655  
    169169                self.dictags[value] = i 
    170170         
    171     def printInfo(self, msg) :     
     171    def logDebug(self, msg) :     
    172172        """Prints a debug message.""" 
    173173        if self.debug : 
     
    289289        oldval = self._curdict.setdefault(name, []) 
    290290        oldval.append((tagtype, value)) 
    291         self.printInfo("%s(%s) : %s" % (name, tagtype, value)) 
     291        self.logDebug("%s(%s) : %s" % (name, tagtype, value)) 
    292292        return posend - self.position 
    293293         
    294294    def operation_attributes_tag(self) :  
    295295        """Indicates that the parser enters into an operation-attributes-tag group.""" 
    296         self.printInfo("Start of operation_attributes_tag") 
     296        self.logDebug("Start of operation_attributes_tag") 
    297297        self._curdict = self.operation_attributes 
    298298        return self.parseTag() 
     
    300300    def job_attributes_tag(self) :  
    301301        """Indicates that the parser enters into a job-attributes-tag group.""" 
    302         self.printInfo("Start of job_attributes_tag") 
     302        self.logDebug("Start of job_attributes_tag") 
    303303        self._curdict = self.job_attributes 
    304304        return self.parseTag() 
     
    306306    def printer_attributes_tag(self) :  
    307307        """Indicates that the parser enters into a printer-attributes-tag group.""" 
    308         self.printInfo("Start of printer_attributes_tag") 
     308        self.logDebug("Start of printer_attributes_tag") 
    309309        self._curdict = self.printer_attributes 
    310310        return self.parseTag() 
     
    312312    def unsupported_attributes_tag(self) :  
    313313        """Indicates that the parser enters into an unsupported-attributes-tag group.""" 
    314         self.printInfo("Start of unsupported_attributes_tag") 
     314        self.logDebug("Start of unsupported_attributes_tag") 
    315315        self._curdict = self.unsupported_attributes 
    316316        return self.parseTag() 
     
    318318    def subscription_attributes_tag(self) :  
    319319        """Indicates that the parser enters into a subscription-attributes-tag group.""" 
    320         self.printInfo("Start of subscription_attributes_tag") 
     320        self.logDebug("Start of subscription_attributes_tag") 
    321321        self._curdict = self.subscription_attributes 
    322322        return self.parseTag() 
     
    324324    def event_notification_attributes_tag(self) :  
    325325        """Indicates that the parser enters into an event-notification-attributes-tag group.""" 
    326         self.printInfo("Start of event_notification_attributes_tag") 
     326        self.logDebug("Start of event_notification_attributes_tag") 
    327327        self._curdict = self.event_notification_attributes 
    328328        return self.parseTag()