diff options
Diffstat (limited to 'astroid/modutils.py')
-rw-r--r-- | astroid/modutils.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/astroid/modutils.py b/astroid/modutils.py index 749018ca..f0b82c81 100644 --- a/astroid/modutils.py +++ b/astroid/modutils.py @@ -31,8 +31,13 @@ import imp import os import platform import sys -from distutils.sysconfig import get_python_lib +from distutils.sysconfig import get_python_lib # pylint: disable=import-error +# pylint: disable=import-error, no-name-in-module from distutils.errors import DistutilsPlatformError +# pylint: disable=wrong-import-order +# distutils is replaced by virtualenv with a module that does +# weird path manipulations in order to get to the +# real distutils module. import zipimport try: |