Skip to content
Snippets Groups Projects
Unverified Commit 655f7953 authored by ulif's avatar ulif
Browse files

Remove conditional import.

This was a remaining of py2.6 support.
parent e740004f
No related branches found
No related tags found
No related merge requests found
...@@ -19,12 +19,9 @@ ...@@ -19,12 +19,9 @@
direct API calls. direct API calls.
""" """
try:
from configparser import ConfigParser as SafeParser # Python 3.x
except ImportError: # pragma: no cover
from ConfigParser import SafeConfigParser as SafeParser # Python 2.x
import os import os
import re import re
from configparser import ConfigParser as SafeParser
OPTIONS_DEFAULTS = dict( OPTIONS_DEFAULTS = dict(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment