Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r65533:41898d5a38dd
Date: 2013-07-22 18:47 -0700
http://bitbucket.org/pypy/pypy/changeset/41898d5a38dd/

Log:    properly escape any path

diff --git a/pypy/tool/pytest/apptest.py b/pypy/tool/pytest/apptest.py
--- a/pypy/tool/pytest/apptest.py
+++ b/pypy/tool/pytest/apptest.py
@@ -72,7 +72,7 @@
     helpers = r"""# -*- encoding: utf-8 -*-
 if 1:
     import sys
-    sys.path.append('%s')
+    sys.path.append(%r)
 %s
     def skip(message):
         print(message)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to