Log message for revision 96767:
  added a main() function in order to provide a proper
  entry point
  

Changed:
  U   Zope/trunk/src/Zope2/utilities/mkzeoinstance.py

-=-
Modified: Zope/trunk/src/Zope2/utilities/mkzeoinstance.py
===================================================================
--- Zope/trunk/src/Zope2/utilities/mkzeoinstance.py     2009-02-19 16:36:36 UTC 
(rev 96766)
+++ Zope/trunk/src/Zope2/utilities/mkzeoinstance.py     2009-02-19 16:42:01 UTC 
(rev 96767)
@@ -25,5 +25,8 @@
 
 from ZEO.mkzeoinst import ZEOInstanceBuilder
 
+def main():
+    ZEOInstanceBuilder().run()
+
 if __name__ == "__main__":
-    ZEOInstanceBuilder().run()
+    main()

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to