allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jetm...@apache.org
Subject [10/37] allura git commit: Fix unicode handling in changelog script
Date Mon, 16 Feb 2015 11:44:41 GMT
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/4542
Commit: 1f019a1e1713d47f9d6872bf2691bba1b7e9769c
Parents: 6face2d
Author: Igor Bondarenko <jetmind2@gmail.com>
Authored: Fri Feb 13 12:42:37 2015 +0200
Committer: Igor Bondarenko <jetmind2@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()


Mime
View raw message