Commit 37b3275a authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

Merge branch 'chappy' into 'master'

AthenaCommon: Py3 fix for ChapPy

See merge request !35415
parents 9154a0ed 5f054540
...@@ -32,7 +32,6 @@ def dump( buf, stdout = sys.stdout ): ...@@ -32,7 +32,6 @@ def dump( buf, stdout = sys.stdout ):
fname = None fname = None
if isinstance(buf, str): if isinstance(buf, str):
fname = buf fname = buf
from builtins import file
if six.PY3: if six.PY3:
import io import io
file = io.IOBase # noqa: F811 file = io.IOBase # noqa: F811
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment