Fix typo when using sys.stderr.write
parent
f63208a1c0
commit
1d1c303b9b
|
@ -26,5 +26,5 @@ if __name__ == "__main__":
|
||||||
print getattr(config, key)
|
print getattr(config, key)
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
else:
|
else:
|
||||||
sys.stderr.write("Unknown command %r", action)
|
sys.stderr.write("Unknown command %r\n" % (action,))
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
Loading…
Reference in New Issue