def add_warning (self, s, tag=None):
        """
        Add a warning string.
        """
        item = (tag, s)
        if item not in self.warnings and \
           tag not in self.aggregate.config["ignorewarnings"]:
            self.warnings.append(item)
def add_warning ( self , s , tag = None ) : item = ( tag , s ) if item not in self . warnings and tag not in self . aggregate . config [ "ignorewarnings" ] : self . warnings . append ( item )
Add a warning string.