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:
parent
d80845e1b4
commit
ec6a49a06b
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Reference in a new issue