mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-07 12:42:10 -04:00
Remove unnecessary pass statements. (#12206)
This commit is contained in:
parent
3b12f6d61b
commit
bc9dff1d95
11 changed files with 1 additions and 15 deletions
|
@ -371,7 +371,6 @@ class DeviceHandler(DeviceWorkerHandler):
|
|||
log_kv(
|
||||
{"reason": "User doesn't have device id.", "device_id": device_id}
|
||||
)
|
||||
pass
|
||||
else:
|
||||
raise
|
||||
|
||||
|
@ -414,7 +413,6 @@ class DeviceHandler(DeviceWorkerHandler):
|
|||
# no match
|
||||
set_tag("error", True)
|
||||
set_tag("reason", "User doesn't have that device id.")
|
||||
pass
|
||||
else:
|
||||
raise
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue