Commit 45618ef3 authored by 's avatar

Rearranged the order of some imports - the prior version happened to

work if you had an existing 1.5.2 installation, but would fail on a
machine dependent solely on Zope's built-in python.
parent 1f2f786b
...@@ -183,7 +183,8 @@ TODO: ...@@ -183,7 +183,8 @@ TODO:
This script does for NT the same sort of thing zdaemon.py does for UNIX. This script does for NT the same sort of thing zdaemon.py does for UNIX.
Requires Python win32api extensions. Requires Python win32api extensions.
""" """
import sys
sys.path.append('./lib/win32')
import win32api, win32serviceutil, win32service, win32event, win32process import win32api, win32serviceutil, win32service, win32event, win32process
try: import servicemanager try: import servicemanager
except: pass except: pass
......
...@@ -183,7 +183,8 @@ TODO: ...@@ -183,7 +183,8 @@ TODO:
This script does for NT the same sort of thing zdaemon.py does for UNIX. This script does for NT the same sort of thing zdaemon.py does for UNIX.
Requires Python win32api extensions. Requires Python win32api extensions.
""" """
import sys
sys.path.append('./lib/win32')
import win32api, win32serviceutil, win32service, win32event, win32process import win32api, win32serviceutil, win32service, win32event, win32process
try: import servicemanager try: import servicemanager
except: pass except: pass
......
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