From 1d1c303b9b3790256d5ebf2d2e93528a23e8270a Mon Sep 17 00:00:00 2001
From: Erik Johnston <erik@matrix.org>
Date: Tue, 25 Aug 2015 15:39:16 +0100
Subject: [PATCH] Fix typo when using sys.stderr.write

---
 synapse/config/__main__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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