Browse files

Put our python libraries first in the path to override any system ins…

…talled mozrunner.
  • Loading branch information...
1 parent 3c6ce30 commit 5805c3af089e287e5eb4dfcdc6073b4774896393 @Mossop committed Jan 8, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/cfx
@@ -17,7 +17,7 @@ if 'CUDDLEFISH_ROOT' not in os.environ:
# add our own python-lib path to the python module search path.
python_lib_dir = os.path.join(cuddlefish_root, "python-lib")
if python_lib_dir not in sys.path:
- sys.path.append(python_lib_dir)
+ sys.path.insert(0, python_lib_dir)
# now export to env so sub-processes get it too
if 'PYTHONPATH' not in os.environ:

0 comments on commit 5805c3a

Please sign in to comment.