summary refs log tree commit diff
path: root/synapse/http/site.py
diff options
context:
space:
mode:
authorAdrian Tschira <nota@notafile.com>2018-04-30 14:36:39 +0200
committerAdrian Tschira <nota@notafile.com>2018-05-19 17:28:42 +0200
commitb932b4ea256fcbfa112f006ccb2e1c10ef195c17 (patch)
treec5d786d53cbe9dd0a2d75e6652619683eace6da9 /synapse/http/site.py
parentMerge pull request #3241 from matrix-org/fix_user_visits_insertion (diff)
downloadsynapse-b932b4ea256fcbfa112f006ccb2e1c10ef195c17.tar.xz
use repr, not str
Signed-off-by: Adrian Tschira <nota@notafile.com>
Diffstat (limited to 'synapse/http/site.py')
-rw-r--r--synapse/http/site.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/http/site.py b/synapse/http/site.py
index 202a990508..75e32924e9 100644
--- a/synapse/http/site.py
+++ b/synapse/http/site.py
@@ -56,7 +56,7 @@ class SynapseRequest(Request):
 
     def __repr__(self):
         # We overwrite this so that we don't log ``access_token``
-        return '<%s at 0x%x method=%s uri=%s clientproto=%s site=%s>' % (
+        return '<%s at 0x%x method=%r uri=%r clientproto=%r site=%r>' % (
             self.__class__.__name__,
             id(self),
             self.method,