def message(self, mapping=None):
     return super(SMTP, self).message(mapping=dict(object=_('SNMP')))
 def message(self, mapping=None):
     return super(Logo, self).message(mapping=dict(object=_('Logo')))
def vocabulary_smtp(context):
    terms = list()
    terms.append(vocabulary.SimpleTerm(value=smtplib.SMTP, token='smtp', title=_('SMTP')))
    terms.append(vocabulary.SimpleTerm(value=smtplib.SMTP_SSL, token='smtp_ssl', title=_('SMTP SSL')))
    terms.append(vocabulary.SimpleTerm(value=smtplib.LMTP, token='lmtp', title=_('LMTP')))
    return vocabulary.SimpleVocabulary(terms)