summary refs log tree commit diff
path: root/synapse/handlers/federation.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-02-13 11:29:37 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2020-02-13 11:30:15 +0000
commit28eba8747eb0a5f88f7bb96b93ef43c12d53b9de (patch)
treeab19276f5d3334627f606019d165807396b107d1 /synapse/handlers/federation.py
parentDinsic Blacking with black==18.6b2 (diff)
parentRun Black. (#5482) (diff)
downloadsynapse-28eba8747eb0a5f88f7bb96b93ef43c12d53b9de.tar.xz
Run Black. (#5482)
Diffstat (limited to 'synapse/handlers/federation.py')
-rw-r--r--synapse/handlers/federation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py
index 189e6e3737..4c119f7a6b 100644
--- a/synapse/handlers/federation.py
+++ b/synapse/handlers/federation.py
@@ -82,7 +82,7 @@ def shortstr(iterable, maxitems=5):
     items = list(itertools.islice(iterable, maxitems + 1))
     if len(items) <= maxitems:
         return str(items)
-    return u"[" + u", ".join(repr(r) for r in items[:maxitems]) + u", ...]"
+    return "[" + ", ".join(repr(r) for r in items[:maxitems]) + ", ...]"
 
 
 class FederationHandler(BaseHandler):