<pre style='margin:0'>
Rainer Müller (raimue) pushed a commit to branch master
in repository trac.macports.org.

</pre>
<p><a href="https://github.com/macports/trac.macports.org/commit/14ac089452787eb12c61b0d2aa30d5bcc0a85876">https://github.com/macports/trac.macports.org/commit/14ac089452787eb12c61b0d2aa30d5bcc0a85876</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'>     new 14ac089  trac-github-update: always encode pusher in utf-8
</span>14ac089 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 14ac089452787eb12c61b0d2aa30d5bcc0a85876
</span>Author: Rainer Müller <raimue@macports.org>
AuthorDate: Tue Nov 1 03:23:53 2016 +0100

<span style='display:block; white-space:pre;color:#404040;'>    trac-github-update: always encode pusher in utf-8
</span>---
 plugins/hooks/trac-github-update.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/plugins/hooks/trac-github-update.py b/plugins/hooks/trac-github-update.py
</span><span style='display:block; white-space:pre;color:#808080;'>index 4c6f6ab..320b9e2 100755
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/plugins/hooks/trac-github-update.py
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/plugins/hooks/trac-github-update.py
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -68,27 +68,27 @@ class GitHubWebhookEnvironment(GenericEnvironment):
</span>             return self._pusher
         if not self._data:
             return super(GenericEnvironment).get_pusher()
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        login = self._data['pusher']['name'].encode('utf-8')
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        login = self._data['pusher']['name']
</span>         realname = self._github.get_user(login).name
         if realname:
             self._pusher = "%s (%s)" % (realname, login)
         else:
             self._pusher = login
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        return self._pusher
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        return self._pusher.encode('utf-8')
</span> 
     def get_pusher_email(self):
         if self._pusher_email:
             return self._pusher_email
         if not self._data:
             return super(GenericEnvironment).get_pusher_email()
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        login = self._data['pusher']['name'].encode('utf-8')
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        login = self._data['pusher']['name']
</span>         name = self._github.get_user(login).name or login
         # GitHub only lists the primary email address in the payload. We do not
         # want to expose it to the public, and sending with these addresses
         # would also violate SPF. Use a static sender email instead.
         email = "%s@users.noreply.github.com" % (login,)
         self._pusher_email = "%s <%s>" % (name, email)
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        return self._pusher_email
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        return self._pusher_email.encode('utf-8')
</span> 
 
 def run_as_github_webhook(environment, mailer):
</pre><pre style='margin:0'>

</pre>