# HG changeset patch # User cmlenz # Date 1177800662 0 # Node ID dad982a606faba5217c5db3f99dc50b90929d49a # Parent dafc6f4c20fb4d11ee8a4eb442e7181f967ce37d Fix another bad ref in the I18n filter. diff --git a/genshi/filters/i18n.py b/genshi/filters/i18n.py --- a/genshi/filters/i18n.py +++ b/genshi/filters/i18n.py @@ -227,7 +227,8 @@ if text: yield pos[1], None, text else: - for lineno, funcname, text in harvest(value): + for lineno, funcname, text in self.extract(value, + gettext_functions): yield lineno, funcname, text elif kind is TEXT: @@ -264,5 +265,6 @@ elif kind is SUB: subkind, substream = data - for lineno, funcname, text in self.harvest(substream): + for lineno, funcname, text in self.extract(substream, + gettext_functions): yield lineno, funcname, text