Commit 9d980ef3 authored by Jim Fulton's avatar Jim Fulton

Rewrite ZopeHTTPServer so that this thing could be a lot simpler.

parent 2a104988
##############################################################################
#
#
# Zope Public License (ZPL) Version 0.9.4
# ---------------------------------------
#
......@@ -87,14 +87,5 @@
import ZopeHTTPServer, os, sys
args=sys.argv[1:]
m=os.path.join(os.getcwd(),'lib','python','Main.py')
for i in range(len(args)):
if args[i][:1] != '-':
args.insert(i,m)
m=''
break
if m: args.append(m)
ZopeHTTPServer.main(args)
ZopeHTTPServer.main(sys.argv[1:]+[os.path.join(os.getcwd(),'lib','python','Main.py')])
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