mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-22 02:16:42 +00:00
Port to Python 3.
This commit is contained in:
parent
77676c1648
commit
cb1e591c6e
@ -1,6 +1,14 @@
|
|||||||
|
"""
|
||||||
|
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__ import print_function
|
||||||
|
|
||||||
from future.builtins import chr
|
from future.utils import PY2
|
||||||
|
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
|
import os
|
||||||
from urllib.parse import urlencode, quote as url_quote
|
from urllib.parse import urlencode, quote as url_quote
|
||||||
|
@ -114,6 +114,7 @@ PORTED_MODULES = [
|
|||||||
"allmydata.scripts.tahoe_mv",
|
"allmydata.scripts.tahoe_mv",
|
||||||
"allmydata.scripts.tahoe_put",
|
"allmydata.scripts.tahoe_put",
|
||||||
"allmydata.scripts.tahoe_run",
|
"allmydata.scripts.tahoe_run",
|
||||||
|
"allmydata.scripts.tahoe_status",
|
||||||
"allmydata.scripts.types_",
|
"allmydata.scripts.types_",
|
||||||
"allmydata.stats",
|
"allmydata.stats",
|
||||||
"allmydata.storage_client",
|
"allmydata.storage_client",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user