summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorDaniel Wagner-Hall <dawagner@gmail.com>2015-10-06 09:53:33 -0500
committerDaniel Wagner-Hall <dawagner@gmail.com>2015-10-06 09:53:33 -0500
commit492beb62a823335fe6a6fb4c59a1bc246c3f57e2 (patch)
tree474d22fc583608489307a93da9326b17745d94e7 /synapse
parentUse space not dash as delimiter (diff)
downloadsynapse-492beb62a823335fe6a6fb4c59a1bc246c3f57e2.tar.xz
Use space not dash as delimiter
Diffstat (limited to 'synapse')
-rw-r--r--synapse/http/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/http/client.py b/synapse/http/client.py
index e0dda97ef6..79c529291f 100644
--- a/synapse/http/client.py
+++ b/synapse/http/client.py
@@ -69,7 +69,7 @@ class SimpleHttpClient(object):
         )
         self.user_agent = hs.version_string
         if hs.config.user_agent_suffix:
-            self.user_agent += " " + hs.config.user_agent_suffix
+            self.user_agent = "%s %s" % (self.user_agent, hs.config.user_agent_suffix,)
 
     def request(self, method, uri, *args, **kwargs):
         # A small wrapper around self.agent.request() so we can easily attach