Fix indenting.

This commit is contained in:
Thibault Févry 2013-08-08 18:31:47 +02:00
parent 5fa5c03411
commit ab58cc959c

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