From 422a8d9f6183c034cf4ed2f345cd40e264992d78 Mon Sep 17 00:00:00 2001 From: sneakypete81 Date: Sat, 7 Dec 2013 16:33:39 +0000 Subject: [PATCH] Remove StringIO import fallback ...since io exists in all supported Python versions. As mentioned in Issue #67. --- trovebox/auth.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/trovebox/auth.py b/trovebox/auth.py index b3e29ed..6e7a287 100644 --- a/trovebox/auth.py +++ b/trovebox/auth.py @@ -3,14 +3,11 @@ auth.py : OAuth Config File Parser """ from __future__ import unicode_literals import os +import io try: from configparser import ConfigParser # Python3 except ImportError: from ConfigParser import SafeConfigParser as ConfigParser # Python2 -try: - import io # Python3 -except ImportError: # pragma: no cover - import StringIO as io # Python2 class Auth(object): """OAuth secrets"""