summaryrefslogtreecommitdiff
path: root/nodes.py
diff options
context:
space:
mode:
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'