From 8700aae37a2a7fba5a19e78b6ba82e8d51bf373a Mon Sep 17 00:00:00 2001 From: Chad Whitacre Date: Sat, 13 Feb 2021 15:48:42 -0500 Subject: [PATCH 1/2] =?UTF-8?q?=C2=AF\=5F(=E3=83=84)=5F/=C2=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- newsfragments/3613.minor | 0 src/allmydata/history.py | 11 +++++++++++ 2 files changed, 11 insertions(+) create mode 100644 newsfragments/3613.minor diff --git a/newsfragments/3613.minor b/newsfragments/3613.minor new file mode 100644 index 000000000..e69de29bb diff --git a/src/allmydata/history.py b/src/allmydata/history.py index 015b89107..b5cfb7318 100644 --- a/src/allmydata/history.py +++ b/src/allmydata/history.py @@ -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 From 6db7b4a6c38d3b7e1291d2c3cf17ca924a0b4dfc Mon Sep 17 00:00:00 2001 From: Chad Whitacre Date: Sat, 13 Feb 2021 15:50:48 -0500 Subject: [PATCH 2/2] YOLO --- src/allmydata/util/_python3.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/allmydata/util/_python3.py b/src/allmydata/util/_python3.py index 066928ca4..d7cb5dd29 100644 --- a/src/allmydata/util/_python3.py +++ b/src/allmydata/util/_python3.py @@ -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",