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
|
sts = dofile(f) or sts
|
||||||
f.close()
|
f.close()
|
||||||
else:
|
else:
|
||||||
sys.stderr('%s: not found\n' % arg)
|
sys.stderr.write('%s: not found\n' % arg)
|
||||||
sts = 1
|
sts = 1
|
||||||
if sts:
|
if sts:
|
||||||
sys.exit(sts)
|
sys.exit(sts)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user