mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-19 13:07:56 +00:00
directories: fix semantic conflict between my "keep track of position" optimization patch and Kevan's "cache serialized entries" optimization patch
This commit is contained in:
parent
44c652fbbe
commit
34213cd2c7
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user