diff options
author | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2014-07-23 16:08:01 +0200 |
---|---|---|
committer | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2014-07-23 16:08:01 +0200 |
commit | f9fd32902a2920bfb4679bc542f9a11689f38fc1 (patch) | |
tree | f5efd984bc78302ccda217319265cae4bd8f4446 /builder.py | |
parent | 9bcd4a50572f56aa9b9f78ec78d4bd1a7d330575 (diff) | |
download | astroid-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.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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): |