print second half of "duplicated attack" warning to stderr also

This warning could become confusing if split up by stdout or stderr being redirected.
This commit is contained in:
Groggy Dice 2013-06-30 23:55:46 -04:00
parent d80845e1b4
commit ec6a49a06b

View file

@ -1484,7 +1484,7 @@ def hack_syntax(filename, lines):
if len(linenos) > 1:
print >>sys.stderr, 'warning: duplicated attack %s at:' % key
for dup in linenos:
print '"%s", %d: %s' % (filename, dup, key)
print >>sys.stderr, '"%s", %d: %s' % (filename, dup, key)
# Lift obsolete image_short and image_long tags
expanded = """\
[attack_anim]