Fix typo when using sys.stderr.write

This commit is contained in:
Erik Johnston 2015-08-25 15:39:16 +01:00
parent f63208a1c0
commit 1d1c303b9b

View File

@ -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)