[Zope-Checkins] SVN: Zope/trunk/src/Zope2/utilities/mkzeoinstance.py added a main() function in order to provide a proper
Andreas Jung
andreas at andreas-jung.com
Thu Feb 19 11:42:01 EST 2009
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()
More information about the Zope-Checkins
mailing list