[Checkins] SVN: zc.recipe.zope3instance/branches/gocept-zconf-slug-dev/src/zc/recipe/zope3instance/__init__.py - ignore nonexisting skeleton overlays

Christian Theune ct at gocept.com
Wed Dec 6 16:11:00 EST 2006


Log message for revision 71469:
   - ignore nonexisting skeleton overlays
  

Changed:
  U   zc.recipe.zope3instance/branches/gocept-zconf-slug-dev/src/zc/recipe/zope3instance/__init__.py

-=-
Modified: zc.recipe.zope3instance/branches/gocept-zconf-slug-dev/src/zc/recipe/zope3instance/__init__.py
===================================================================
--- zc.recipe.zope3instance/branches/gocept-zconf-slug-dev/src/zc/recipe/zope3instance/__init__.py	2006-12-06 20:57:56 UTC (rev 71468)
+++ zc.recipe.zope3instance/branches/gocept-zconf-slug-dev/src/zc/recipe/zope3instance/__init__.py	2006-12-06 21:10:59 UTC (rev 71469)
@@ -141,7 +141,8 @@
         # Copy skeletons
         for overlay in [os.path.join(os.path.dirname(__file__), 'skel'),
                 src]:
-            self._copy_skeleton(overlay, dest)
+            if os.path.isdir(overlay):
+                self._copy_skeleton(overlay, dest)
 
         self._update_infiles(dest, options)
 



More information about the Checkins mailing list