sys.stderr(...) should be sys.stderr.write(), of course
This commit is contained in:
parent
31cce97374
commit
06ed202ef4
@ -40,7 +40,7 @@ def main():
|
||||
sts = dofile(f) or sts
|
||||
f.close()
|
||||
else:
|
||||
sys.stderr('%s: not found\n' % arg)
|
||||
sys.stderr.write('%s: not found\n' % arg)
|
||||
sts = 1
|
||||
if sts:
|
||||
sys.exit(sts)
|
||||
|
Loading…
x
Reference in New Issue
Block a user