summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2019-10-23 16:49:05 +0100
committerGitHub <noreply@github.com>2019-10-23 16:49:05 +0100
commit92e88a71d31e9a1424acd8a3a8cf9ee02b4af9ea (patch)
treea8a5cd16fb46a2061b05e66570630442526318cb /synapse
parentMerge pull request #6243 from matrix-org/babolivier/port_db_fix_imports (diff)
downloadsynapse-92e88a71d31e9a1424acd8a3a8cf9ee02b4af9ea.tar.xz
Cleanup extra quotes from IDEs (#6236)
Diffstat (limited to 'synapse')
-rw-r--r--synapse/event_auth.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/event_auth.py b/synapse/event_auth.py
index 4e91df60e6..e7b722547b 100644
--- a/synapse/event_auth.py
+++ b/synapse/event_auth.py
@@ -493,8 +493,7 @@ def _check_power_levels(event, auth_events):
         new_level_too_big = new_level is not None and new_level > user_level
         if old_level_too_big or new_level_too_big:
             raise AuthError(
-                403,
-                "You don't have permission to add ops level greater " "than your own",
+                403, "You don't have permission to add ops level greater than your own"
             )