[Checkins] SVN: zc.recipe.cmmi/trunk/zc/recipe/cmmi/__init__.py Do
not mkdir dest if it already exists. This is to allow us to create
Daniel Nouri
daniel.nouri at gmail.com
Tue Aug 21 07:38:21 EDT 2007
Log message for revision 79070:
Do not mkdir dest if it already exists. This is to allow us to create
and massage the dest directory before running the cmmi.
Changed:
U zc.recipe.cmmi/trunk/zc/recipe/cmmi/__init__.py
-=-
Modified: zc.recipe.cmmi/trunk/zc/recipe/cmmi/__init__.py
===================================================================
--- zc.recipe.cmmi/trunk/zc/recipe/cmmi/__init__.py 2007-08-21 10:30:54 UTC (rev 79069)
+++ zc.recipe.cmmi/trunk/zc/recipe/cmmi/__init__.py 2007-08-21 11:38:21 UTC (rev 79070)
@@ -68,7 +68,8 @@
setuptools.archive_util.unpack_archive(fname, tmp)
here = os.getcwd()
- os.mkdir(dest)
+ if not os.path.exists(dest):
+ os.mkdir(dest)
try:
os.chdir(tmp)
More information about the Checkins
mailing list