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