Commit d0ef18f2 authored by Sidnei da Silva's avatar Sidnei da Silva

- ``filepath`` needs to be quoted too, in redo_pyc

parent eb19aadc
...@@ -1169,7 +1169,7 @@ def redo_pyc(egg): ...@@ -1169,7 +1169,7 @@ def redo_pyc(egg):
args = [_safe_arg(sys.executable)] args = [_safe_arg(sys.executable)]
if __debug__: if __debug__:
args.append('-O') args.append('-O')
args.extend(['-m', 'py_compile', filepath]) args.extend(['-m', 'py_compile', _safe_arg(filepath)])
if is_jython: if is_jython:
subprocess.call([sys.executable, args]) subprocess.call([sys.executable, args])
......
...@@ -5,7 +5,7 @@ Certain aspects of every software project are dependent on the ...@@ -5,7 +5,7 @@ Certain aspects of every software project are dependent on the
operating system used. operating system used.
The same - of course - applies to zc.buildout. The same - of course - applies to zc.buildout.
To test that windows doesn't get in the way, we'll test some system To test that Windows doesn't get in the way, we'll test some system
dependent aspects. dependent aspects.
The following recipe will create a read-only file which shutil.rmtree The following recipe will create a read-only file which shutil.rmtree
can't delete. can't delete.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment