e25d26203d6b — Steve Fink 4 years ago
More unicode fixes
1 files changed, 2 insertions(+), 2 deletions(-)

M __init__.py
M __init__.py +2 -2
@@ 386,12 386,12 @@ def validate_users(ui, api_server, auth,
     results = {}
     for search_result in search_results:
         if search_result["real_names"] is None:
-            ui.write_err(b"Error: couldn't find user with search string \"{}\": {}\n".format(
+            ui.write_err("Error: couldn't find user with search string \"{}\": {}\n".format(
                 search_result["search_string"],
                 search_result["error"]).encode())
             search_failed = True
         elif len(search_result["real_names"]) > 10:
-            ui.write_err(b"Error: too many bugzilla users matching \"{}\":\n\n".format(
+            ui.write_err("Error: too many bugzilla users matching \"{}\":\n\n".format(
                 search_result["search_string"]
             ).encode())
             for real_name in search_result["real_names"]: