summaryrefslogtreecommitdiff
path: root/protocols.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 /protocols.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 'protocols.py')
-rw-r--r--protocols.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols.py b/protocols.py
index 301ef0fc..dba1834e 100644
--- a/protocols.py
+++ b/protocols.py
@@ -26,7 +26,7 @@ from __future__ import generators
__doctype__ = "restructuredtext en"
-from logilab.astng import InferenceError, NoDefault
+from logilab.astng.exceptions import InferenceError, NoDefault
from logilab.astng.node_classes import unpack_infer
from logilab.astng.bases import copy_context, \
raise_if_nothing_infered, yes_if_nothing_infered, Instance, Generator, YES