[Checkins] SVN: zc.buildout/branches/help-api/src/zc/buildout/ - ``filepath`` needs to be quoted too, in redo_pyc

Godefroid Chapelle gotcha at bubblenet.be
Sun Mar 29 17:27:28 EDT 2009


Log message for revision 98559:
  - ``filepath`` needs to be quoted too, in redo_pyc

Changed:
  U   zc.buildout/branches/help-api/src/zc/buildout/easy_install.py
  U   zc.buildout/branches/help-api/src/zc/buildout/windows.txt

-=-
Modified: zc.buildout/branches/help-api/src/zc/buildout/easy_install.py
===================================================================
--- zc.buildout/branches/help-api/src/zc/buildout/easy_install.py	2009-03-29 21:27:20 UTC (rev 98558)
+++ zc.buildout/branches/help-api/src/zc/buildout/easy_install.py	2009-03-29 21:27:28 UTC (rev 98559)
@@ -1169,7 +1169,7 @@
                 args = [_safe_arg(sys.executable)]
                 if __debug__:
                     args.append('-O')
-                args.extend(['-m', 'py_compile', filepath])
+                args.extend(['-m', 'py_compile', _safe_arg(filepath)])
                 
                 if is_jython:
                     subprocess.call([sys.executable, args])

Modified: zc.buildout/branches/help-api/src/zc/buildout/windows.txt
===================================================================
--- zc.buildout/branches/help-api/src/zc/buildout/windows.txt	2009-03-29 21:27:20 UTC (rev 98558)
+++ zc.buildout/branches/help-api/src/zc/buildout/windows.txt	2009-03-29 21:27:28 UTC (rev 98559)
@@ -5,7 +5,7 @@
 operating system used.
 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.
 The following recipe will create a read-only file which shutil.rmtree
 can't delete.



More information about the Checkins mailing list