Title: [112309] trunk/Tools
- Revision
- 112309
- Author
- [email protected]
- Date
- 2012-03-27 13:33:07 -0700 (Tue, 27 Mar 2012)
Log Message
[jhbuild] Prepend jhbuildrc's directory to sys.path instead of appending.
https://bugs.webkit.org/show_bug.cgi?id=82252
Reviewed by Gustavo Noronha Silva.
Appending the directory containing common.py may be problematic if
another path in sys.path also contains either a common.py or a
common/ module, so prepend to select our version instead. This is
the case with fail2ban, which has a common/ directory which may
end up being in Python's default path.
* efl/jhbuildrc:
* gtk/jhbuildrc:
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (112308 => 112309)
--- trunk/Tools/ChangeLog 2012-03-27 20:30:28 UTC (rev 112308)
+++ trunk/Tools/ChangeLog 2012-03-27 20:33:07 UTC (rev 112309)
@@ -1,3 +1,19 @@
+2012-03-26 Raphael Kubo da Costa <[email protected]>
+
+ [jhbuild] Prepend jhbuildrc's directory to sys.path instead of appending.
+ https://bugs.webkit.org/show_bug.cgi?id=82252
+
+ Reviewed by Gustavo Noronha Silva.
+
+ Appending the directory containing common.py may be problematic if
+ another path in sys.path also contains either a common.py or a
+ common/ module, so prepend to select our version instead. This is
+ the case with fail2ban, which has a common/ directory which may
+ end up being in Python's default path.
+
+ * efl/jhbuildrc:
+ * gtk/jhbuildrc:
+
2012-03-27 Dirk Pranke <[email protected]>
test-webkitpy: prepare for better test run output
Modified: trunk/Tools/efl/jhbuildrc (112308 => 112309)
--- trunk/Tools/efl/jhbuildrc 2012-03-27 20:30:28 UTC (rev 112308)
+++ trunk/Tools/efl/jhbuildrc 2012-03-27 20:33:07 UTC (rev 112309)
@@ -20,7 +20,7 @@
import sys
__efl_tools_directory = os.path.abspath(os.path.dirname(__file__))
-sys.path.append(__efl_tools_directory)
+sys.path = [__efl_tools_directory] + sys.path
import common
build_policy = 'updated'
Modified: trunk/Tools/gtk/jhbuildrc (112308 => 112309)
--- trunk/Tools/gtk/jhbuildrc 2012-03-27 20:30:28 UTC (rev 112308)
+++ trunk/Tools/gtk/jhbuildrc 2012-03-27 20:33:07 UTC (rev 112309)
@@ -19,7 +19,7 @@
import sys
__gtk_tools_directory = os.path.abspath(os.path.dirname(__file__))
-sys.path.append(__gtk_tools_directory)
+sys.path = [__gtk_tools_directory] + sys.path
import common
build_policy = 'updated'
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes