diff options
author | Erik Johnston <erik@matrix.org> | 2015-08-25 15:39:16 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-08-25 15:39:16 +0100 |
commit | 1d1c303b9b3790256d5ebf2d2e93528a23e8270a (patch) | |
tree | 4338c5f154a3bdb834d3afb70c485f35925a33e4 | |
parent | Add utility to parse config and print out a key (diff) | |
download | synapse-1d1c303b9b3790256d5ebf2d2e93528a23e8270a.tar.xz |
Fix typo when using sys.stderr.write
-rw-r--r-- | synapse/config/__main__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/config/__main__.py b/synapse/config/__main__.py index 725983a718..f822d12036 100644 --- a/synapse/config/__main__.py +++ b/synapse/config/__main__.py @@ -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) |