remove spurious string substitution from a "pango string" message

The format of this message appears to have been copied from the preceding "pango string" messages, which have a "%s" where "< or >" is. But it causes wmllint to crash with the traceback, "TypeError: not all arguments converted during string formatting".
This commit is contained in:
Groggy Dice 2013-06-25 12:52:15 -04:00
parent e6f69ae056
commit 419fabdad8

View file

@ -845,7 +845,7 @@ def pangoize(message, filename, line):
if message[here:here+4] != "&gt;":
message = message[:here] + "&gt;" + message[here+1:]
else:
print '"%s", line %d: < or > in pango string requires manual fix.' % (filename, line, oldstyle)
print '"%s", line %d: < or > in pango string requires manual fix.' % (filename, line)
return message
class WmllintIterator(WmlIterator):