summaryrefslogtreecommitdiff
path: root/nodes.py
diff options
context:
space:
mode:
authorSylvain Thénault <sylvain.thenault@logilab.fr>2008-03-30 19:25:58 +0200
committerSylvain Thénault <sylvain.thenault@logilab.fr>2008-03-30 19:25:58 +0200
commit6b636000eceef3ac91a3fa40911291a95b73244f (patch)
treeb8b24ee94a64ef323c764b934dbc99b1be167160 /nodes.py
parentdf7e6961f4887e58d9eb957a556868f095db9017 (diff)
downloadastroid-git-6b636000eceef3ac91a3fa40911291a95b73244f.tar.gz
_ast compat step 1
--HG-- branch : _ast_compat
Diffstat (limited to 'nodes.py')
-rw-r--r--nodes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nodes.py b/nodes.py
index 1e93062c..3b319966 100644
--- a/nodes.py
+++ b/nodes.py
@@ -45,7 +45,7 @@ __docformat__ = "restructuredtext en"
try:
from logilab.astng._nodes_ast import *
AST_MODE = '_ast'
-except:
+except ImportError:
from logilab.astng._nodes_compiler import *
AST_MODE = 'compiler'