projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
325ec1f
)
SFTP: don't call .stopProducing on the producer registered with OverwriteableFileCons...
author
david-sarah
<david-sarah@jacaranda.org>
Mon, 28 Jun 2010 23:19:26 +0000
(16:19 -0700)
committer
david-sarah
<david-sarah@jacaranda.org>
Mon, 28 Jun 2010 23:19:26 +0000
(16:19 -0700)
src/allmydata/frontends/sftpd.py
patch
|
blob
|
history
diff --git
a/src/allmydata/frontends/sftpd.py
b/src/allmydata/frontends/sftpd.py
index 894af5f2704df84eab2724481e2c05b4c6f0f1e2..72a2123897518e44d9525a56ba60872ae7fb5cef 100644
(file)
--- a/
src/allmydata/frontends/sftpd.py
+++ b/
src/allmydata/frontends/sftpd.py
@@
-552,9
+552,6
@@
class OverwriteableFileConsumer(PrefixingLogMixin):
# truncated to before the milestone.
eventually_callback(d)(None)
- # FIXME: causes spurious failures
- #self.unregisterProducer()
-
def close(self):
if not self.is_closed:
self.is_closed = True
@@
-565,9
+562,7
@@
class OverwriteableFileConsumer(PrefixingLogMixin):
self.finish()
def unregisterProducer(self):
- if self.producer:
- self.producer.stopProducing()
- self.producer = None
+ pass
SIZE_THRESHOLD = 1000