Port to Python 3.

This commit is contained in:
Itamar Turner-Trauring 2020-09-14 14:03:48 -04:00
parent 6983c79b26
commit aef293fbca
2 changed files with 12 additions and 1 deletions

View File

@ -1,4 +1,14 @@
from future.utils import PY3
"""
Ported to Python 3.
"""
from __future__ import unicode_literals
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from future.utils import PY2, PY3
if PY2:
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
import os.path
from allmydata.util import base32

View File

@ -35,6 +35,7 @@ PORTED_MODULES = [
"allmydata.immutable.happiness_upload",
"allmydata.interfaces",
"allmydata.monitor",
"allmydata.storage.common",
"allmydata.storage.crawler",
"allmydata.storage.expirer",
"allmydata.storage.mutable",