diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2020-03-16 15:26:55 +0000 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2020-03-16 15:26:55 +0000 |
commit | a00615b81c975c12617b39c5438f698cdd80ae57 (patch) | |
tree | 8faee514160dcc717dbb3d3dbb0b2e6b1e61eedf /synapse | |
parent | Merge pull request #6243 from matrix-org/babolivier/port_db_fix_imports (diff) | |
parent | Cleanup extra quotes from IDEs (#6236) (diff) | |
download | synapse-a00615b81c975c12617b39c5438f698cdd80ae57.tar.xz |
Cleanup extra quotes from IDEs (#6236)
* commit '92e88a71d': Cleanup extra quotes from IDEs (#6236)
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/event_auth.py | 3 |
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" ) |