Skip to content

Commit

Permalink
Merge pull request tahoe-lafs#989 from tahoe-lafs/3620.port-check_res…
Browse files Browse the repository at this point in the history
…ults

Port check_results.py to Python 3
  • Loading branch information
chadwhitacre committed Mar 3, 2021
2 parents e1ef9d4 + 4cb7a65 commit de3676e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
Empty file added newsfragments/3620.minor
Empty file.
11 changes: 11 additions & 0 deletions src/allmydata/check_results.py
Original file line number Diff line number Diff line change
@@ -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

from past.builtins import unicode

from zope.interface import implementer
Expand Down
1 change: 1 addition & 0 deletions src/allmydata/util/_python3.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"allmydata._auto_deps",
"allmydata._monkeypatch",
"allmydata.blacklist",
"allmydata.check_results",
"allmydata.codec",
"allmydata.control",
"allmydata.crypto",
Expand Down

0 comments on commit de3676e

Please sign in to comment.