Blank lines

pull/96/head
David Baker 2015-03-02 15:58:12 +00:00
parent 769f8b58e8
commit 20436cdf75
2 changed files with 2 additions and 0 deletions

View File

@ -218,6 +218,7 @@ class PushRuleRestServlet(ClientV1RestServlet):
else:
raise UnrecognizedRequestError()
def _rule_spec_from_path(path):
if len(path) < 2:
raise UnrecognizedRequestError()

View File

@ -229,6 +229,7 @@ class PushRuleStore(SQLBaseStore):
{'enabled': False}
)
class RuleNotFoundException(Exception):
pass