From 5f05454089a48679d080cd3cf952ed0840d46139 Mon Sep 17 00:00:00 2001 From: Frank Winklmeier <fwinkl@cern> Date: Thu, 6 Aug 2020 12:46:17 +0200 Subject: [PATCH] AthenaCommon: Py3 fix for ChapPy `builtins.file` is not available in Py3 and does not need an import in Py2. --- Control/AthenaCommon/python/ChapPy.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Control/AthenaCommon/python/ChapPy.py b/Control/AthenaCommon/python/ChapPy.py index dfa81fd7237..2a11b1bf555 100755 --- a/Control/AthenaCommon/python/ChapPy.py +++ b/Control/AthenaCommon/python/ChapPy.py @@ -32,7 +32,6 @@ def dump( buf, stdout = sys.stdout ): fname = None if isinstance(buf, str): fname = buf - from builtins import file if six.PY3: import io file = io.IOBase # noqa: F811 -- GitLab