summaryrefslogtreecommitdiff
path: root/inference.py
diff options
context:
space:
mode:
authorEmile Anclin <emile.anclin@logilab.fr>2010-12-02 10:53:33 +0100
committerEmile Anclin <emile.anclin@logilab.fr>2010-12-02 10:53:33 +0100
commit47a17eee2201e7c878ed75cd67c3fdae13dbe8e3 (patch)
tree45b126a827d64b4565c241935df3ca4a77074d84 /inference.py
parentfb64c733945e719d8b5d3f5e467cb0c0b01a0fb0 (diff)
downloadastroid-git-47a17eee2201e7c878ed75cd67c3fdae13dbe8e3.tar.gz
reduce circular imports I: import exceptions directly
- rename exceptions module: it's exported to Pylint anyway
Diffstat (limited to 'inference.py')
-rw-r--r--inference.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/inference.py b/inference.py
index 597d450a..def91a03 100644
--- a/inference.py
+++ b/inference.py
@@ -34,8 +34,8 @@ except NameError:
from logilab.astng import nodes, raw_building
from logilab.astng.manager import ASTNGManager
-from logilab.astng import ASTNGError, InferenceError, UnresolvableName, \
- NoDefault, NotFoundError, ASTNGBuildingException
+from logilab.astng.exceptions import (ASTNGBuildingException, ASTNGError,
+ InferenceError, NoDefault, NotFoundError, UnresolvableName)
from logilab.astng.bases import YES, Instance, InferenceContext, Generator, \
_infer_stmts, copy_context, path_wrapper, raise_if_nothing_infered
from logilab.astng.protocols import _arguments_infer_argname