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:
0eb4d83
)
fix syntax of assertion handling that isn't portable to older versions of Python
author
Zooko O'Whielacronx
<zooko@zooko.com>
Fri, 4 Jun 2010 07:58:05 +0000
(
00:58
-0700)
committer
Zooko O'Whielacronx
<zooko@zooko.com>
Fri, 4 Jun 2010 07:58:05 +0000
(
00:58
-0700)
src/allmydata/frontends/sftpd.py
patch
|
blob
|
history
diff --git
a/src/allmydata/frontends/sftpd.py
b/src/allmydata/frontends/sftpd.py
index 60e1117d769c7f2589d1cd90f960d690d7bcb4c2..de401fd1ea739ac01fda84b1346565c107a5370c 100644
(file)
--- a/
src/allmydata/frontends/sftpd.py
+++ b/
src/allmydata/frontends/sftpd.py
@@
-560,7
+560,7
@@
class OverwriteableFileConsumer(PrefixingLogMixin):
self.is_closed = True
try:
self.f.close()
- except BaseException
as
e:
+ except BaseException
,
e:
self.log("suppressed %r from close of temporary file %r" % (e, self.f), level=WEIRD)
self.finish()