[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/server/mkzopeinstance.py simplify code now that the skeleton ends up with the ZCML slugs after the

Fred L. Drake, Jr. fdrake at gmail.com
Fri Sep 2 23:27:30 EDT 2005


Log message for revision 38286:
  simplify code now that the skeleton ends up with the ZCML slugs after the
  build has been run (reported on Zope3-dev)
  

Changed:
  U   Zope3/trunk/src/zope/app/server/mkzopeinstance.py

-=-
Modified: Zope3/trunk/src/zope/app/server/mkzopeinstance.py
===================================================================
--- Zope3/trunk/src/zope/app/server/mkzopeinstance.py	2005-09-03 01:15:07 UTC (rev 38285)
+++ Zope3/trunk/src/zope/app/server/mkzopeinstance.py	2005-09-03 03:27:29 UTC (rev 38286)
@@ -112,12 +112,6 @@
                 os.path.dirname(os.path.realpath(__main__.__file__)))
             shutil.copy2(os.path.join(swhome, "securitypolicy.zcml"),
                          os.path.join(options.destination, "etc"))
-            piname = "package-includes"
-            pisrc = os.path.join(swhome, piname)
-            pidst = os.path.join(options.destination, "etc", piname)
-            for fn in os.listdir(pisrc):
-                if fn.endswith(".zcml"):
-                    shutil.copy2(os.path.join(pisrc, fn), pidst)
         return 0
 
     def get_skeltarget(self):



More information about the Zope3-Checkins mailing list