Commit 8a7336c6 authored by Christopher Petrilli's avatar Christopher Petrilli

Updated to not use the wrong list.append() arguments (Python 1.6).

parent 58c24dcc
......@@ -282,7 +282,7 @@ class zhttp_handler:
zresponse=make_response(request,env)
zrequest=HTTPRequest(sin, env, zresponse)
request.channel.current_request=None
request.channel.queue.append(self.module_name, zrequest, zresponse)
request.channel.queue.append((self.module_name, zrequest, zresponse))
request.channel.work()
def status(self):
......
# -*- Mode: Python; tab-width: 4 -*-
# $Id: asyncore.py,v 1.7 2000/01/14 02:35:56 amos Exp $
# $Id: asyncore.py,v 1.8 2000/04/06 22:49:28 petrilli Exp $
# Author: Sam Rushing <rushing@nightmare.com>
# ======================================================================
......@@ -400,9 +400,9 @@ def compact_traceback ():
tbinfo = []
while 1:
tbinfo.append (
tb.tb_frame.f_code.co_filename,
tb.tb_frame.f_code.co_name,
str(tb.tb_lineno)
( tb.tb_frame.f_code.co_filename,
tb.tb_frame.f_code.co_name,
str(tb.tb_lineno) )
)
tb = tb.tb_next
if not tb:
......
......@@ -282,7 +282,7 @@ class zhttp_handler:
zresponse=make_response(request,env)
zrequest=HTTPRequest(sin, env, zresponse)
request.channel.current_request=None
request.channel.queue.append(self.module_name, zrequest, zresponse)
request.channel.queue.append((self.module_name, zrequest, zresponse))
request.channel.work()
def status(self):
......
# -*- Mode: Python; tab-width: 4 -*-
# $Id: asyncore.py,v 1.7 2000/01/14 02:35:56 amos Exp $
# $Id: asyncore.py,v 1.8 2000/04/06 22:49:28 petrilli Exp $
# Author: Sam Rushing <rushing@nightmare.com>
# ======================================================================
......@@ -400,9 +400,9 @@ def compact_traceback ():
tbinfo = []
while 1:
tbinfo.append (
tb.tb_frame.f_code.co_filename,
tb.tb_frame.f_code.co_name,
str(tb.tb_lineno)
( tb.tb_frame.f_code.co_filename,
tb.tb_frame.f_code.co_name,
str(tb.tb_lineno) )
)
tb = tb.tb_next
if not tb:
......
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