We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71f2fdd commit a10a082Copy full SHA for a10a082
1 file changed
openml/config.py
@@ -3,7 +3,9 @@
3
"""
4
import logging
5
import os
6
-import sys
+
7
+from six import StringIO
8
+from six.moves import configparser
9
10
11
logger = logging.getLogger(__name__)
@@ -16,12 +18,7 @@
16
18
cachedir = ""
17
19
20
-if sys.version_info[0] < 3:
- import ConfigParser as configparser
21
- from StringIO import StringIO
22
-else:
23
- import configparser
24
- from io import StringIO
25
26
27
def _setup():
0 commit comments