diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2010-11-25 21:24:18 +0100 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2010-11-25 21:24:18 +0100 |
commit | 7c87fa6c77279b91e272219a52e4f50780a7186f (patch) | |
tree | c73351d0d3f02fb1daf1bc600fcb480d0616ce97 | |
parent | 9e24a4a7a91cab92237e511b8cfd7664473b979a (diff) |
Convert unicode to string at end of repo_commit_msg().
-rwxr-xr-x | gitnoti.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -103,10 +103,10 @@ def repo_commit_msg(repo, branch, commits): short_url = None if short_url: - url = short_url.encode('utf-8') + url = short_url msg += url - return msg + return msg.encode('utf-8') class ReposNotifyEvent(pyinotify.ProcessEvent): def new_repo(self, event): |