Merge "Add utf-8 char support"

This commit is contained in:
Jenkins 2015-06-12 14:29:35 +00:00 committed by Gerrit Code Review
commit 84fc10f563
1 changed files with 1 additions and 1 deletions

View File

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