mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 02:49:27 +01:00
Throw out mungeEmail for supybot.Author
This has limited value these days, because 1) the email info for authors is most often in a public VCS already 2) it makes using the actual contact info harder.
This commit is contained in:
parent
00b2e9c97a
commit
18f9a342b3
@ -181,8 +181,7 @@ class Plugin(callbacks.Plugin):
|
||||
hasContribs = False
|
||||
if hasattr(module, '__author__'):
|
||||
if module.__author__ != supybot.authors.unknown:
|
||||
author = _('was written by %s') % \
|
||||
utils.web.mungeEmail(str(module.__author__))
|
||||
author = _('was written by %s') % str(module.__author__)
|
||||
hasAuthor = True
|
||||
if hasattr(module, '__contributors__'):
|
||||
contribs = sortAuthors()
|
||||
@ -218,7 +217,7 @@ class Plugin(callbacks.Plugin):
|
||||
if not authorInfo:
|
||||
return _('The nick specified (%s) is not a registered '
|
||||
'contributor.') % nick
|
||||
fullName = utils.web.mungeEmail(str(authorInfo))
|
||||
fullName = str(authorInfo)
|
||||
contributions = []
|
||||
if hasattr(module, '__contributors__'):
|
||||
if authorInfo not in module.__contributors__:
|
||||
|
@ -47,8 +47,7 @@ class Author(object):
|
||||
self.email = email
|
||||
|
||||
def __str__(self):
|
||||
return '%s (%s) <%s>' % (self.name, self.nick,
|
||||
utils.web.mungeEmail(self.email))
|
||||
return '%s (%s) <%s>' % (self.name, self.nick, self.email)
|
||||
|
||||
class authors(object): # This is basically a bag.
|
||||
jemfinch = Author('Jeremy Fincher', 'jemfinch', 'jemfinch@users.sf.net')
|
||||
|
Loading…
Reference in New Issue
Block a user