diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2020-02-13 11:29:37 +0000 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2020-02-13 11:30:15 +0000 |
commit | 28eba8747eb0a5f88f7bb96b93ef43c12d53b9de (patch) | |
tree | ab19276f5d3334627f606019d165807396b107d1 /synapse/handlers/federation.py | |
parent | Dinsic Blacking with black==18.6b2 (diff) | |
parent | Run Black. (#5482) (diff) | |
download | synapse-28eba8747eb0a5f88f7bb96b93ef43c12d53b9de.tar.xz |
Run Black. (#5482)
Diffstat (limited to 'synapse/handlers/federation.py')
-rw-r--r-- | synapse/handlers/federation.py | 2 |
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): |