Revert "Fix indenting."

This reverts commit ab58cc959c.
This commit is contained in:
Thibault Févry 2013-08-08 18:48:45 +02:00
parent ab58cc959c
commit ddfc7d3282

View file

@ -140,11 +140,11 @@ class TagNode:
ok = True
for k, v in kw.items():
if k == "tag":
if not isinstance(sub, TagNode): ok = False
elif v != "" and sub.name != v: ok = False
if not isinstance(sub, TagNode): ok = False
elif v != "" and sub.name != v: ok = False
elif k == "att":
if not isinstance(sub, AttributeNode): ok = False
elif v != "" and sub.name != v: ok = False
if not isinstance(sub, AttributeNode): ok = False
elif v != "" and sub.name != v: ok = False
if ok:
r.append(sub)
return r