[Zope3-checkins] CVS: Zope3 - z3.py:1.10
Jeremy Hylton
jeremy@zope.com
Tue, 26 Nov 2002 10:10:00 -0500
Update of /cvs-repository/Zope3
In directory cvs.zope.org:/tmp/cvs-serv1640
Modified Files:
z3.py
Log Message:
Move import of ThreadedAsync after path munging.
Thanks to Magnus Heino.
=== Zope3/z3.py 1.9 => 1.10 ===
--- Zope3/z3.py:1.9 Mon Nov 25 12:08:32 2002
+++ Zope3/z3.py Tue Nov 26 10:09:59 2002
@@ -18,12 +18,10 @@
"""
import os, sys
-import ThreadedAsync
basepath = filter(None, sys.path)
def run(argv=sys.argv):
-
# Refuse to run without principals.zcml
if not os.path.exists('principals.zcml'):
print """ERROR: You need to create principals.zcml
@@ -57,6 +55,7 @@
from Zope.Configuration.xmlconfig import XMLConfig
XMLConfig(os.path.join(dir, 'zserver.zcml'))()
+ import ThreadedAsync
try:
ThreadedAsync.loop()
except KeyboardInterrupt: