[Checkins] SVN: z3c.recipe.compattest/trunk/src/z3c/recipe/compattest/runner.py Don't import site on initialization, as this mitigates the buildout 1.5 way of setting sys.path

Jan-Jaap Driessen jdriessen at thehealthagency.com
Wed Oct 6 02:40:43 EDT 2010


Log message for revision 117268:
  Don't import site on initialization, as this mitigates the buildout 1.5 way of setting sys.path

Changed:
  U   z3c.recipe.compattest/trunk/src/z3c/recipe/compattest/runner.py

-=-
Modified: z3c.recipe.compattest/trunk/src/z3c/recipe/compattest/runner.py
===================================================================
--- z3c.recipe.compattest/trunk/src/z3c/recipe/compattest/runner.py	2010-10-06 06:30:44 UTC (rev 117267)
+++ z3c.recipe.compattest/trunk/src/z3c/recipe/compattest/runner.py	2010-10-06 06:40:43 UTC (rev 117268)
@@ -31,7 +31,7 @@
     def start(self):
         self.start = time.time()
         self.process = subprocess.Popen(
-            [sys.executable, self.script, '--exit-with-status'] + self.args,
+            [sys.executable, '-S', self.script, '--exit-with-status'] + self.args,
             stdin=subprocess.PIPE,
             stdout=subprocess.PIPE,
             stderr=subprocess.STDOUT,



More information about the checkins mailing list