Merge pull request #983 from tahoe-lafs/3613.port-history
Port history.py to Python 3
This commit is contained in:
commit
5e52c03ef6
|
@ -1,3 +1,14 @@
|
|||
"""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
|
||||
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 weakref
|
||||
|
||||
|
|
|
@ -39,6 +39,7 @@ PORTED_MODULES = [
|
|||
"allmydata.dirnode",
|
||||
"allmydata.frontends.sftpd",
|
||||
"allmydata.hashtree",
|
||||
"allmydata.history",
|
||||
"allmydata.immutable.checker",
|
||||
"allmydata.immutable.downloader",
|
||||
"allmydata.immutable.downloader.common",
|
||||
|
|
Loading…
Reference in New Issue