From 0312bafdb7f97555a7831f36df0f55273f613e2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolfo=20Garc=C3=ADa=20Pe=C3=B1as=20=28kix=29?= Date: Sat, 29 Aug 2020 08:54:40 +0200 Subject: [PATCH] OLItest uses only python3 Python2 is not supported now. I am removing these imports. --- test/OLItest/globals.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test/OLItest/globals.py b/test/OLItest/globals.py index ba072e2..354411a 100644 --- a/test/OLItest/globals.py +++ b/test/OLItest/globals.py @@ -14,10 +14,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -try: - from cStringIO import StringIO -except ImportError: #python3 - from io import StringIO +from io import StringIO default_conf=StringIO("""[general] #will be set automatically