summary refs log tree commit diff
path: root/synapse/config
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-08-25 15:39:16 +0100
committerErik Johnston <erik@matrix.org>2015-08-25 15:39:16 +0100
commit1d1c303b9b3790256d5ebf2d2e93528a23e8270a (patch)
tree4338c5f154a3bdb834d3afb70c485f35925a33e4 /synapse/config
parentAdd utility to parse config and print out a key (diff)
downloadsynapse-1d1c303b9b3790256d5ebf2d2e93528a23e8270a.tar.xz
Fix typo when using sys.stderr.write
Diffstat (limited to 'synapse/config')
-rw-r--r--synapse/config/__main__.py2
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)