mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-25 13:29:45 +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
|
position = 0
|
||||||
while position < len(data):
|
while position < len(data):
|
||||||
entries, position = split_netstring(data, 1, position)
|
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")
|
name = name.decode("utf-8")
|
||||||
rwcap = None
|
rwcap = None
|
||||||
if writeable:
|
if writeable:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user