Fix typo when using sys.stderr.write

pull/246/head
Erik Johnston 2015-08-25 15:39:16 +01:00
parent f63208a1c0
commit 1d1c303b9b
1 changed files with 1 additions and 1 deletions

View File

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