79f123993c81

cli: encode usernames in headers to the local encoding
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Tue, 20 Jul 2010 18:27:47 -0400
parents 8f18f574990c
children a9a6bf62224c
branches/tags (none)
files review/cli.py

Changes

--- a/review/cli.py	Thu Jul 15 20:09:46 2010 -0400
+++ b/review/cli.py	Tue Jul 20 18:27:47 2010 -0400
@@ -223,7 +223,7 @@
             spacing = 1
         spacing = ' ' * spacing
 
-        return author_part + spacing + detail_part + '\n'
+        return tolocal(author_part) + spacing + detail_part + '\n'
 
 
     def _print_comment(comment, before='', after=''):