Revision: 6463
Author: [email protected]
Date: Tue Jan 25 04:56:04 2011
Log: Prepend the tools directory to python module path

This works around possible collisions with modules installed in the system
python directories.

See Gentoo Linux bug report:
http://bugs.gentoo.org/349794

Patch by Mike Gilbert <[email protected]>

Review URL: http://codereview.chromium.org/6253009

http://code.google.com/p/v8/source/detail?r=6463

Modified:
 /branches/bleeding_edge/AUTHORS
 /branches/bleeding_edge/SConstruct

=======================================
--- /branches/bleeding_edge/AUTHORS     Tue Dec  7 03:01:02 2010
+++ /branches/bleeding_edge/AUTHORS     Tue Jan 25 04:56:04 2011
@@ -34,3 +34,4 @@
 Ryan Dahl <[email protected]>
 Subrato K De <[email protected]>
 Vlad Burlik <[email protected]>
+Mike Gilbert <[email protected]>
=======================================
--- /branches/bleeding_edge/SConstruct  Tue Jan 25 04:28:45 2011
+++ /branches/bleeding_edge/SConstruct  Tue Jan 25 04:56:04 2011
@@ -32,7 +32,7 @@
 from os.path import join, dirname, abspath
 from types import DictType, StringTypes
 root_dir = dirname(File('SConstruct').rfile().abspath)
-sys.path.append(join(root_dir, 'tools'))
+sys.path.insert(0, join(root_dir, 'tools'))
 import js2c, utils

# ANDROID_TOP is the top of the Android checkout, fetched from the environment

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to