diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2015-12-14 12:45:06 +0200 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2015-12-14 12:45:06 +0200 |
commit | 93097be78874dc4c2f323837352f2b1f552cb025 (patch) | |
tree | 2c32a69371540f04a103b0f4f2fc17d5c8eff0a9 /astroid/modutils.py | |
parent | 9eea91fd9f72b929d1cecec1d68a0986c52be2bf (diff) | |
download | astroid-git-93097be78874dc4c2f323837352f2b1f552cb025.tar.gz |
Disable errors caused by a custom version of distutils, created by virtualenv.
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: |