Title: [225055] trunk/Tools
Revision
225055
Author
[email protected]
Date
2017-11-20 15:51:54 -0800 (Mon, 20 Nov 2017)

Log Message

Unreviewed, speculative attempt to fix run-gtk-tests after r225047
https://bugs.webkit.org/show_bug.cgi?id=173772

* jhbuild/jhbuildutils.py:
(enter_jhbuild_environment_if_available):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (225054 => 225055)


--- trunk/Tools/ChangeLog	2017-11-20 22:02:46 UTC (rev 225054)
+++ trunk/Tools/ChangeLog	2017-11-20 23:51:54 UTC (rev 225055)
@@ -1,3 +1,11 @@
+2017-11-20  Michael Catanzaro  <[email protected]>
+
+        Unreviewed, speculative attempt to fix run-gtk-tests after r225047
+        https://bugs.webkit.org/show_bug.cgi?id=173772
+
+        * jhbuild/jhbuildutils.py:
+        (enter_jhbuild_environment_if_available):
+
 2017-11-20  Mario Sanchez Prada  <[email protected]>
 
         [GTK] New API to add, retrieve and delete cookies via WebKitCookieManager

Modified: trunk/Tools/jhbuild/jhbuildutils.py (225054 => 225055)


--- trunk/Tools/jhbuild/jhbuildutils.py	2017-11-20 22:02:46 UTC (rev 225054)
+++ trunk/Tools/jhbuild/jhbuildutils.py	2017-11-20 23:51:54 UTC (rev 225055)
@@ -1,3 +1,4 @@
+import gettext
 import glob
 import os.path
 import sys
@@ -48,6 +49,7 @@
     try:
         import jhbuild.config
         from jhbuild.errors import FatalError
+        gettext.install('jhbuild', localedir=os.path.join(source_path, 'mo'), unicode=True)
         config = jhbuild.config.Config(get_config_file_for_platform(platform), [])
     except FatalError, exception:
         sys.stderr.write('Could not load jhbuild config file: %s\n' % exception.args[0])
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to