Revision: bb5ae6d41f06
Author:   Janne Härkönen <[email protected]>
Date:     Mon Jan 16 21:40:11 2012
Log:      TidyLib: do not override custom PYTHONPATH with one from os.env
http://code.google.com/p/robotframework/source/detail?r=bb5ae6d41f06

Modified:
 /atest/robot/tidy/TidyLib.py

=======================================
--- /atest/robot/tidy/TidyLib.py        Mon Jan 16 21:17:26 2012
+++ /atest/robot/tidy/TidyLib.py        Mon Jan 16 21:40:11 2012
@@ -13,8 +13,8 @@
     def __init__(self, interpreter):
         self._cmd = [interpreter, '-m', 'robot.tidy']
path_var = 'PYTHONPATH' if 'python' in interpreter else 'JYTHONPATH'
-        self._env = {path_var: ROBOT_SRC}
-        self._env.update(os.environ)
+        self._env = os.environ
+        self._env.update({path_var: ROBOT_SRC})


     def run_tidy_and_return_output(self, input, options):

Reply via email to