don't force script_name

This commit is contained in:
Frédéric Péters 2007-06-20 10:28:43 +00:00
parent 588963b500
commit 634c36d469
1 changed files with 0 additions and 2 deletions

View File

@ -12,7 +12,6 @@ def start(args):
run_function = quixote.server.scgi_server.run
run_kwargs = {}
run_kwargs['port'] = 3002
run_kwargs['script_name'] = ''
i = 0
while i < len(args):
@ -31,7 +30,6 @@ def start(args):
i += 1
elif args[i] == '--http':
run_function = quixote.server.simple_server.run
del run_kwargs['script_name']
elif args[i] == '--silent':
sys.stdout = file('/dev/null', 'w')
sys.stderr = file('/dev/null', 'w')