Commit 157f09b2 authored by Shane Hathaway's avatar Shane Hathaway

Made it so z2.py can run with "-Z ''" again; otherwise a NameError occurs.

parent e72508b3
...@@ -574,9 +574,10 @@ if LOCALE_ID is not None: ...@@ -574,9 +574,10 @@ if LOCALE_ID is not None:
# application code so that ZServer's asyncore gets to be the # application code so that ZServer's asyncore gets to be the
# official one. Also gets SOFTWARE_HOME, INSTANCE_HOME, and CLIENT_HOME # official one. Also gets SOFTWARE_HOME, INSTANCE_HOME, and CLIENT_HOME
import ZServer import ZServer
import zdaemon
if Zpid and not READ_ONLY: if Zpid and not READ_ONLY:
import zdaemon, App.FindHomes, posix import App.FindHomes, posix
sys.ZMANAGED=1 sys.ZMANAGED=1
zdaemon.run(sys.argv, os.path.join(CLIENT_HOME, Zpid), zdaemon.run(sys.argv, os.path.join(CLIENT_HOME, Zpid),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment