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:
566b335
)
Thu Mar 22 13:18:06 GMT 2012 Peter Le Bek <peter@hyperplex.net>
author
Daira Hopwood
<daira@jacaranda.org>
Thu, 5 Sep 2013 17:09:49 +0000
(18:09 +0100)
committer
Daira Hopwood
<daira@jacaranda.org>
Thu, 5 Sep 2013 17:09:49 +0000
(18:09 +0100)
* ftpd file `size' attribute must be an integer
src/allmydata/frontends/ftpd.py
patch
|
blob
|
history
diff --git
a/src/allmydata/frontends/ftpd.py
b/src/allmydata/frontends/ftpd.py
index cc2a0a084ecdaecf44eea46ef88918e631690669..fde72d7fe779e7523e8a689d0f4c7bcacebfebed 100644
(file)
--- a/
src/allmydata/frontends/ftpd.py
+++ b/
src/allmydata/frontends/ftpd.py
@@
-193,7
+193,7
@@
class Handler:
if isdir:
value = 0
else:
- value = childnode.get_size()
+ value = childnode.get_size()
or 0
elif key == "directory":
value = isdir
elif key == "permissions":