Merge pull request #983 from tahoe-lafs/3613.port-history

Port history.py to Python 3
This commit is contained in:
Chad Whitacre 2021-02-16 06:57:23 -05:00 committed by GitHub
commit 5e52c03ef6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 0 deletions

0
newsfragments/3613.minor Normal file
View File

View File

@ -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

View File

@ -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",