mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-25 10:33:49 +00:00
Blank lines
This commit is contained in:
1 parent
769f8b58e8
commit
20436cdf75
2 files changed
+2
No files matched your search
@@ -218,6 +218,7 @@ class PushRuleRestServlet(ClientV1RestServlet):
|
||||
else:
|
||||
raise UnrecognizedRequestError()
|
||||
|
||||
|
||||
def _rule_spec_from_path(path):
|
||||
if len(path) < 2:
|
||||
raise UnrecognizedRequestError()
|
||||
|
||||
@@ -229,6 +229,7 @@ class PushRuleStore(SQLBaseStore):
|
||||
{'enabled': False}
|
||||
)
|
||||
|
||||
|
||||
class RuleNotFoundException(Exception):
|
||||
pass
|
||||
|
||||
|
||||
Reference in new issue
Block a user