Bug 1291275 - sys.stdout is utf-8 in mach, don't double-encode. r=glandium, a=ritu
authorAxel Hecht <axel@pike.org>
Mon, 29 Aug 2016 15:07:19 +0200
changeset 347962 6249384ff58d9b902612c0c926f81b1a2912725f
parent 347961 d632eadae7e364e18124a2aab0936cf333850702
child 347963 7380ab03cf390926270fd5d66e17352c8f7d7d9f
push id6389
push userraliiev@mozilla.com
push dateMon, 19 Sep 2016 13:38:22 +0000
treeherdermozilla-beta@01d67bfe6c81 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium, ritu
bugs1291275
milestone50.0a2
Bug 1291275 - sys.stdout is utf-8 in mach, don't double-encode. r=glandium, a=ritu MozReview-Commit-ID: ISozaWZZB1h
python/compare-locales/mach_commands.py
--- a/python/compare-locales/mach_commands.py
+++ b/python/compare-locales/mach_commands.py
@@ -73,9 +73,9 @@ class CompareLocales(MachCommandBase):
                     'locales', 'merge-dir-{ab_CD}'
                 )
             except Exception:
                 pass
 
         app = EnumerateApp(l10n_ini, l10n_base, locales)
         observer = compareApp(app, merge_stage=merge_dir,
                               clobber=True)
-        print(observer.serialize().encode('utf-8', 'replace'))
+        print(observer.serialize())