summaryrefslogtreecommitdiff
path: root/patchcomptransformer.py
diff options
context:
space:
mode:
authorEmile Anclin <emile.anclin@logilab.fr>2009-11-25 18:45:19 +0100
committerEmile Anclin <emile.anclin@logilab.fr>2009-11-25 18:45:19 +0100
commit61df5384faee1c38e4881a81a00183be6861ed6f (patch)
tree622dec29438dc1f942298ac694384fca0deb674e /patchcomptransformer.py
parent6b59dfa123bb3cfb7474ba321f3ea813bf07e3c8 (diff)
downloadastroid-git-61df5384faee1c38e4881a81a00183be6861ed6f.tar.gz
moving stuff around to avoid circular imports
--HG-- branch : rebuild
Diffstat (limited to 'patchcomptransformer.py')
-rw-r--r--patchcomptransformer.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/patchcomptransformer.py b/patchcomptransformer.py
index 586effe8..8744a781 100644
--- a/patchcomptransformer.py
+++ b/patchcomptransformer.py
@@ -18,12 +18,13 @@
:copyright: 2003-2009 Sylvain Thenault
:contact: mailto:thenault@gmail.com
"""
+# TODO : move this module to _nodes_compiler
from types import TupleType
from token import DEDENT
from compiler import transformer
-from logilab.astng import nodes
+import compiler.ast as nodes
def fromto_lineno(asttuple):
"""return the minimum and maximum line number of the given ast tuple"""