# HG changeset patch # User cmlenz # Date 1180517269 0 # Node ID abe6e4ab7ecf81e998b454b520b3ca651172dc2f # Parent 460b1f0db935aaed1787604b2e425d779a48cc6c Fix another bug in the translation filter: translated attributes were getting added instead of replaced. diff --git a/genshi/filters/i18n.py b/genshi/filters/i18n.py --- a/genshi/filters/i18n.py +++ b/genshi/filters/i18n.py @@ -129,7 +129,7 @@ yield kind, data, pos continue - new_attrs = list(attrs) + new_attrs = [] changed = False for name, value in attrs: newval = value