Show More
@@ -10,7 +10,6 b'' | |||
|
10 | 10 | from __future__ import absolute_import, print_function |
|
11 | 11 | |
|
12 | 12 | import ast |
|
13 | import importlib | |
|
14 | 13 | import os |
|
15 | 14 | import sys |
|
16 | 15 | import traceback |
@@ -41,6 +40,7 b' def check_compat_py2(f):' | |||
|
41 | 40 | |
|
42 | 41 | def check_compat_py3(f): |
|
43 | 42 | """Check Python 3 compatibility of a file with Python 3.""" |
|
43 | import importlib # not available on Python 2.6 | |
|
44 | 44 | with open(f, 'rb') as fh: |
|
45 | 45 | content = fh.read() |
|
46 | 46 |
General Comments 0
You need to be logged in to leave comments.
Login now