def getSubject(self, record):
    subject = logging.handlers.SMTPHandler.getSubject(self, record)
    if (record.levelno in self.LEVEL_SUBJECTS):
        return ((subject + ' ') + self.LEVEL_SUBJECTS[record.levelno])
    return subject
def getSubject(self, record):
    subject = logging.handlers.SMTPHandler.getSubject(self, record)
    if (record.levelno in self.LEVEL_SUBJECTS):
        return ((subject + ' ') + self.LEVEL_SUBJECTS[record.levelno])
    return subject