Commit b8930da0 authored by Ken Manheimer's avatar Ken Manheimer

FCGIChannel(): Whoops - there were bad tabification problems. I

am pretty confident i've reconciled the abov (and satisfied tabnanny).
parent ea045a61
...@@ -563,7 +563,7 @@ class FCGIChannel(asynchat.async_chat): ...@@ -563,7 +563,7 @@ class FCGIChannel(asynchat.async_chat):
self.producer_fifo.push(producer) self.producer_fifo.push(producer)
if send: self.initiate_send() if send: self.initiate_send()
push_with_producer=push push_with_producer=push
def close(self): def close(self):
self.closed=1 self.closed=1
...@@ -667,7 +667,7 @@ class FCGIServer(asyncore.dispatcher): ...@@ -667,7 +667,7 @@ class FCGIServer(asyncore.dispatcher):
class FCGIResponse(HTTPResponse): class FCGIResponse(HTTPResponse):
def setChannel(self, channel): def setChannel(self, channel):
self.channel = channel self.channel = channel
def write(self, data): def write(self, data):
...@@ -694,9 +694,9 @@ class FCGIResponse(HTTPResponse): ...@@ -694,9 +694,9 @@ class FCGIResponse(HTTPResponse):
shutdown = r shutdown = r
if not self.channel.closed: if not self.channel.closed:
self.channel.push_with_producer(LoggingProducer(self.channel, self.channel.push_with_producer(LoggingProducer(self.channel,
self.stdout.length, self.stdout.length,
'log_request')) 'log_request'))
if shutdown: if shutdown:
sys.ZServerExitCode = shutdown sys.ZServerExitCode = shutdown
self.channel.push_with_producer(ShutdownProducer()) self.channel.push_with_producer(ShutdownProducer())
......
...@@ -563,7 +563,7 @@ class FCGIChannel(asynchat.async_chat): ...@@ -563,7 +563,7 @@ class FCGIChannel(asynchat.async_chat):
self.producer_fifo.push(producer) self.producer_fifo.push(producer)
if send: self.initiate_send() if send: self.initiate_send()
push_with_producer=push push_with_producer=push
def close(self): def close(self):
self.closed=1 self.closed=1
...@@ -667,7 +667,7 @@ class FCGIServer(asyncore.dispatcher): ...@@ -667,7 +667,7 @@ class FCGIServer(asyncore.dispatcher):
class FCGIResponse(HTTPResponse): class FCGIResponse(HTTPResponse):
def setChannel(self, channel): def setChannel(self, channel):
self.channel = channel self.channel = channel
def write(self, data): def write(self, data):
...@@ -694,9 +694,9 @@ class FCGIResponse(HTTPResponse): ...@@ -694,9 +694,9 @@ class FCGIResponse(HTTPResponse):
shutdown = r shutdown = r
if not self.channel.closed: if not self.channel.closed:
self.channel.push_with_producer(LoggingProducer(self.channel, self.channel.push_with_producer(LoggingProducer(self.channel,
self.stdout.length, self.stdout.length,
'log_request')) 'log_request'))
if shutdown: if shutdown:
sys.ZServerExitCode = shutdown sys.ZServerExitCode = shutdown
self.channel.push_with_producer(ShutdownProducer()) self.channel.push_with_producer(ShutdownProducer())
......
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