Library get_attr values

We should walk the tag values bacwards, rather than using the normal
walk_backwards function.
This commit is contained in:
Bryan Schumaker 2010-11-10 22:52:50 -05:00
parent cd78355b74
commit 6ac2abda27
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ def get_attrs(id, *attrs):
return [0] * len(attrs)
get = rec.__dict__.get
tags = rec.tags.walk_backwards()
tags = rec.tags.walk_vals_backwards()
for attr in attrs:
if attr == "id":
res += [id]