Author: Matti Picus <[email protected]>
Branch: single-run
Changeset: r448:a6fedeeb3d70
Date: 2020-02-07 13:32 +0200
http://bitbucket.org/pypy/benchmarks/changeset/a6fedeeb3d70/

Log:    fix bad merge

diff --git a/benchmarks.py b/benchmarks.py
--- a/benchmarks.py
+++ b/benchmarks.py
@@ -218,8 +218,11 @@
     os.mkdir(docdir)
     htmldir = os.path.join(builddir, 'html')
     os.mkdir(htmldir)
+    env = os.environ.copy()
+    env['PYTHONPATH'] = os.pathsep.join([relative('lib'), 
relative('lib/jinja2')])
     args = python + [build, '-b', 'html', '-d', docdir, maindir, htmldir]
-    proc = subprocess.Popen(args, stderr=subprocess.PIPE, 
stdout=subprocess.PIPE)
+    proc = subprocess.Popen(args, stderr=subprocess.PIPE, 
stdout=subprocess.PIPE,
+                            env=env)
     out, err = proc.communicate()
     retcode = proc.poll()
     if retcode != 0:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to