Mercurial > p > roundup > code
diff roundup/cgi/TAL/TALGenerator.py @ 5382:1556b39fde7c
Python 3 preparation: use != instead of <>.
Tool-generated patch.
| author | Joseph Myers <jsm@polyomino.org.uk> |
|---|---|
| date | Tue, 24 Jul 2018 22:09:15 +0000 |
| parents | 0942fe89e82e |
| children | d26921b851c3 |
line wrap: on
line diff
--- a/roundup/cgi/TAL/TALGenerator.py Tue Jul 24 22:08:17 2018 +0000 +++ b/roundup/cgi/TAL/TALGenerator.py Tue Jul 24 22:09:15 2018 +0000 @@ -794,7 +794,7 @@ # in case tal:content, i18n:translate and i18n:name in the # same tag insertTranslation opcode has already been # emitted - if varname and (varname[1] <> I18N_CONTENT): + if varname and (varname[1] != I18N_CONTENT): self.emitTranslation(msgid, i18ndata) if repeat: self.emitRepeat(repeat)
