Commit cbb12f93 authored by Jason R. Coombs's avatar Jason R. Coombs

Restore compatibility for Python 3.2 and earlier.

parent 498414b8
......@@ -21,7 +21,6 @@ import os
import io
import time
import re
import _imp
import types
import zipfile
import zipimport
......@@ -40,6 +39,12 @@ import tempfile
import textwrap
from pkgutil import get_importer
try:
import _imp
except ImportError:
# Python 3.2 compatibility
import imp as _imp
PY3 = sys.version_info > (3,)
PY2 = not PY3
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment