Skip to content

Commit

Permalink
use repr, not str
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Tschira <[email protected]>
  • Loading branch information
NotAFile committed May 19, 2018
1 parent 0846262 commit b932b4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/http/site.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def __init__(self, site, *args, **kw):

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,
Expand Down

0 comments on commit b932b4e

Please sign in to comment.