Changeset 96fd186 in trunk
- Timestamp:
- 2020-12-09T19:58:54Z (5 years ago)
- Branches:
- master
- Children:
- 66cd68d, 995f271
- Parents:
- ba42483
- Location:
- src/allmydata
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/allmydata/dirnode.py ¶
rba42483 r96fd186 10 10 from future.utils import PY2 11 11 if PY2: 12 from future.builtins import filter, map, zip, ascii, chr, hex, input, next, oct, open, pow, round, super, bytes, dict, list, object, range, str, max, min # noqa: F401 12 # Skip dict so it doesn't break things. 13 from future.builtins import filter, map, zip, ascii, chr, hex, input, next, oct, open, pow, round, super, bytes, list, object, range, str, max, min # noqa: F401 13 14 from past.builtins import unicode 14 15 … … 269 270 child.raise_error() 270 271 if deep_immutable and not child.is_allowed_in_immutable_directory(): 271 raise MustBeDeepImmutableError("child %s is not allowed in an immutable directory" % 272 quote_output(name, encoding='utf-8'), name) 272 raise MustBeDeepImmutableError( 273 "child %r is not allowed in an immutable directory" % (name,), 274 name) 273 275 if has_aux: 274 276 entry = children.get_aux(name) -
TabularUnified src/allmydata/nodemaker.py ¶
rba42483 r96fd186 1 """ 2 Ported to Python 3. 3 """ 4 from __future__ import absolute_import 5 from __future__ import division 6 from __future__ import print_function 7 from __future__ import unicode_literals 8 9 from future.utils import PY2 10 if PY2: 11 from future.builtins import filter, map, zip, ascii, chr, hex, input, next, oct, open, pow, round, super, bytes, dict, list, object, range, str, max, min # noqa: F401 12 1 13 import weakref 2 14 from zope.interface import implementer -
TabularUnified src/allmydata/test/test_dirnode.py ¶
rba42483 r96fd186 15 15 from future.builtins import filter, map, zip, ascii, chr, hex, input, next, oct, open, pow, round, super, bytes, dict, object, range, str, max, min # noqa: F401 16 16 17 import six18 17 import time 19 18 import unicodedata … … 46 45 from hypothesis import given 47 46 from hypothesis.strategies import text 48 49 if six.PY3:50 long = int51 47 52 48 -
TabularUnified src/allmydata/util/_python3.py ¶
rba42483 r96fd186 67 67 "allmydata.mutable.servermap", 68 68 "allmydata.node", 69 "allmydata.nodemaker", 69 70 "allmydata.storage_client", 70 71 "allmydata.storage.common",
Note: See TracChangeset
for help on using the changeset viewer.