summaryrefslogtreecommitdiff
path: root/rebuilder.py
diff options
context:
space:
mode:
authorEmile Anclin <emile.anclin@logilab.fr>2010-01-21 11:53:10 +0100
committerEmile Anclin <emile.anclin@logilab.fr>2010-01-21 11:53:10 +0100
commitd93fed3b4b233e9294f9d38edb00d965e1cf3325 (patch)
treee7c316934c4c1975c66a8df59250c80a82c0dd79 /rebuilder.py
parentf4bb870e8f5a072804107b10ac8f9b6ebe0b12df (diff)
downloadastroid-git-d93fed3b4b233e9294f9d38edb00d965e1cf3325.tar.gz
compiler: handle Slice(obj), Subscript, ExtSlice, Index
--HG-- branch : rebuild
Diffstat (limited to 'rebuilder.py')
-rw-r--r--rebuilder.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/rebuilder.py b/rebuilder.py
index b0e8edcd..299f4aa4 100644
--- a/rebuilder.py
+++ b/rebuilder.py
@@ -49,9 +49,6 @@ class RebuildVisitor(ASTVisitor):
return None
node.parent = parent # XXX it seems that we need it sometimes
cls_name = node.__class__.__name__
- if not self._ast_mode: # compiler
- # TODO if cls_name in ('AssAttr', 'AssName', 'Slice', 'Subscript')
- self.check_missing_delstmt(node, childnode, cls_name)
_method_suffix = REDIRECT.get(cls_name, cls_name).lower()
_visit = getattr(self, "visit_%s" % _method_suffix )
try: