You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by je...@apache.org on 2015/02/24 12:47:56 UTC
[02/50] [abbrv] allura git commit: Fix unicode handling in changelog
script
Fix unicode handling in changelog script
Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/1f019a1e
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/1f019a1e
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/1f019a1e
Branch: refs/heads/ib/7827
Commit: 1f019a1e1713d47f9d6872bf2691bba1b7e9769c
Parents: 6face2d
Author: Igor Bondarenko <je...@gmail.com>
Authored: Fri Feb 13 12:42:37 2015 +0200
Committer: Igor Bondarenko <je...@gmail.com>
Committed: Fri Feb 13 12:48:03 2015 +0200
----------------------------------------------------------------------
scripts/changelog.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/allura/blob/1f019a1e/scripts/changelog.py
----------------------------------------------------------------------
diff --git a/scripts/changelog.py b/scripts/changelog.py
index d6ed617..8f49e94 100755
--- a/scripts/changelog.py
+++ b/scripts/changelog.py
@@ -66,7 +66,7 @@ def print_changelog(version, summaries):
'date': datetime.utcnow().strftime('%B %Y'),
})
for ticket in sorted(summaries.keys()):
- print " * [#{0}] {1}".format(ticket, summaries[ticket])
+ print " * [#{0}] {1}".format(ticket, summaries[ticket].encode('utf-8'))
if __name__ == '__main__':
main()