summaryrefslogtreecommitdiff
path: root/builder.py
diff options
context:
space:
mode:
authorSylvain Thénault <sylvain.thenault@logilab.fr>2014-07-23 16:08:01 +0200
committerSylvain Thénault <sylvain.thenault@logilab.fr>2014-07-23 16:08:01 +0200
commitf9fd32902a2920bfb4679bc542f9a11689f38fc1 (patch)
treef5efd984bc78302ccda217319265cae4bd8f4446 /builder.py
parent9bcd4a50572f56aa9b9f78ec78d4bd1a7d330575 (diff)
downloadastroid-git-f9fd32902a2920bfb4679bc542f9a11689f38fc1.tar.gz
backport (most of) logilab.common.modutils and related tests into astroid itself
most of this code is for astroid/pylint only.
Diffstat (limited to 'builder.py')
-rw-r--r--builder.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/builder.py b/builder.py
index b6ceff82..7ea1f8dd 100644
--- a/builder.py
+++ b/builder.py
@@ -26,13 +26,12 @@ __docformat__ = "restructuredtext en"
import sys
from os.path import splitext, basename, exists, abspath
-from logilab.common.modutils import modpath_from_file
-
from astroid.exceptions import AstroidBuildingException, InferenceError
from astroid.raw_building import InspectBuilder
from astroid.rebuilder import TreeRebuilder
from astroid.manager import AstroidManager
from astroid.bases import YES, Instance
+from astroid.modutils import modpath_from_file
from _ast import PyCF_ONLY_AST
def parse(string):