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:
44c652f
)
directories: fix semantic conflict between my "keep track of position" optimization...
author
Zooko O'Whielacronx
<zooko@zooko.com>
Fri, 10 Jul 2009 03:20:28 +0000
(20:20 -0700)
committer
Zooko O'Whielacronx
<zooko@zooko.com>
Fri, 10 Jul 2009 03:20:28 +0000
(20:20 -0700)
src/allmydata/dirnode.py
patch
|
blob
|
history
diff --git
a/src/allmydata/dirnode.py
b/src/allmydata/dirnode.py
index 67dde0761ec7e3162710397ca88e9b0c37aecf7c..e85a5dea50624bc2a8e9ba0b96f0c7952c9d64b0 100644
(file)
--- a/
src/allmydata/dirnode.py
+++ b/
src/allmydata/dirnode.py
@@
-230,7
+230,8
@@
class NewDirectoryNode:
position = 0
while position < len(data):
entries, position = split_netstring(data, 1, position)
- (name, rocap, rwcapdata, metadata_s), subpos = split_netstring(entries[0], 4)
+ entry = entries[0]
+ (name, rocap, rwcapdata, metadata_s), subpos = split_netstring(entry, 4)
name = name.decode("utf-8")
rwcap = None
if writeable: