mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-23 01:08:53 +00:00
Enough changes to make allmydata.test.test_storage run on Python 3.
Still lots of failures, of course.
This commit is contained in:
@ -1,4 +1,6 @@
|
||||
"""Directory Node implementation."""
|
||||
from past.builtins import unicode
|
||||
|
||||
import time
|
||||
|
||||
from zope.interface import implementer
|
||||
@ -227,7 +229,7 @@ def pack_children(childrenx, writekey, deep_immutable=False):
|
||||
return _pack_normalized_children(children, writekey=writekey, deep_immutable=deep_immutable)
|
||||
|
||||
|
||||
ZERO_LEN_NETSTR=netstring('')
|
||||
ZERO_LEN_NETSTR=netstring(b'')
|
||||
def _pack_normalized_children(children, writekey, deep_immutable=False):
|
||||
"""Take a dict that maps:
|
||||
children[unicode_nfc_name] = (IFileSystemNode, metadata_dict)
|
||||
|
Reference in New Issue
Block a user