Commit 316b4a88 authored by 's avatar

merged bug fix from 2.2 branch

parent 948c6ff3
...@@ -360,7 +360,7 @@ class zope_ftp_channel(ftp_channel): ...@@ -360,7 +360,7 @@ class zope_ftp_channel(ftp_channel):
else: else:
for producer in self._response_producers: for producer in self._response_producers:
self.client_dc.push_with_producer(producer) self.client_dc.push_with_producer(producer)
self._response_producers = None self._response_producers = None
self.client_dc.close_when_done() self.client_dc.close_when_done()
self.respond( self.respond(
"150 Opening %s mode data connection for file '%s'" % ( "150 Opening %s mode data connection for file '%s'" % (
......
...@@ -360,7 +360,7 @@ class zope_ftp_channel(ftp_channel): ...@@ -360,7 +360,7 @@ class zope_ftp_channel(ftp_channel):
else: else:
for producer in self._response_producers: for producer in self._response_producers:
self.client_dc.push_with_producer(producer) self.client_dc.push_with_producer(producer)
self._response_producers = None self._response_producers = None
self.client_dc.close_when_done() self.client_dc.close_when_done()
self.respond( self.respond(
"150 Opening %s mode data connection for file '%s'" % ( "150 Opening %s mode data connection for file '%s'" % (
......
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