comparison 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
comparison
equal deleted inserted replaced
5381:0942fe89e82e 5382:1556b39fde7c
792 # explicit msgids here. See comment above. 792 # explicit msgids here. See comment above.
793 if msgid is not None: 793 if msgid is not None:
794 # in case tal:content, i18n:translate and i18n:name in the 794 # in case tal:content, i18n:translate and i18n:name in the
795 # same tag insertTranslation opcode has already been 795 # same tag insertTranslation opcode has already been
796 # emitted 796 # emitted
797 if varname and (varname[1] <> I18N_CONTENT): 797 if varname and (varname[1] != I18N_CONTENT):
798 self.emitTranslation(msgid, i18ndata) 798 self.emitTranslation(msgid, i18ndata)
799 if repeat: 799 if repeat:
800 self.emitRepeat(repeat) 800 self.emitRepeat(repeat)
801 if condition: 801 if condition:
802 self.emitCondition(condition) 802 self.emitCondition(condition)

Roundup Issue Tracker: http://roundup-tracker.org/