mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-31 16:36:20 +00:00
Port to Python 3.
This commit is contained in:
parent
6f5c32c461
commit
7de84e32a3
@ -1,4 +1,15 @@
|
|||||||
from future.utils import bytes_to_native_str
|
"""
|
||||||
|
Ported to Python 3.
|
||||||
|
"""
|
||||||
|
|
||||||
|
from __future__ import absolute_import
|
||||||
|
from __future__ import division
|
||||||
|
from __future__ import print_function
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from future.utils import PY2, bytes_to_native_str
|
||||||
|
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, stat, struct, time
|
import os, stat, struct, time
|
||||||
|
|
||||||
|
@ -37,6 +37,7 @@ PORTED_MODULES = [
|
|||||||
"allmydata.monitor",
|
"allmydata.monitor",
|
||||||
"allmydata.storage.crawler",
|
"allmydata.storage.crawler",
|
||||||
"allmydata.storage.expirer",
|
"allmydata.storage.expirer",
|
||||||
|
"allmydata.storage.immutable",
|
||||||
"allmydata.test.common_py3",
|
"allmydata.test.common_py3",
|
||||||
"allmydata.uri",
|
"allmydata.uri",
|
||||||
"allmydata.util._python3",
|
"allmydata.util._python3",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user