Browse Source

Merge "Add utf-8 char support"

tags/1.0.0
Jenkins 4 years ago
parent
commit
84fc10f563
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      git_review/cmd.py

+ 1
- 1
git_review/cmd.py View File

@@ -971,7 +971,7 @@ def list_reviews(remote):
971 971
         #  ((width1, value1), (width2, value2), ...) map.
972 972
         formatted_fields = []
973 973
         for (width, value) in zip(review_field_width, review_value):
974
-            formatted_fields.extend([width, value])
974
+            formatted_fields.extend([width, value.encode('utf-8')])
975 975
         print(review_field_format % tuple(formatted_fields))
976 976
     print("Found %d items for review" % len(reviews))
977 977
 

Loading…
Cancel
Save