summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-03-02 15:58:12 +0000
committerDavid Baker <dave@matrix.org>2015-03-02 15:58:12 +0000
commit20436cdf7522fdb76e8d883cf251d9332c0ea6d3 (patch)
tree5227ae2ebe4d67fba59e9f77b4929af9d46d0f21 /synapse
parentRename the room-with-two-people rule to be more compatible if we have actual ... (diff)
downloadsynapse-20436cdf7522fdb76e8d883cf251d9332c0ea6d3.tar.xz
Blank lines
Diffstat (limited to 'synapse')
-rw-r--r--synapse/rest/client/v1/push_rule.py1
-rw-r--r--synapse/storage/push_rule.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/synapse/rest/client/v1/push_rule.py b/synapse/rest/client/v1/push_rule.py
index 5bfdb29907..3db38a949a 100644
--- a/synapse/rest/client/v1/push_rule.py
+++ b/synapse/rest/client/v1/push_rule.py
@@ -218,6 +218,7 @@ class PushRuleRestServlet(ClientV1RestServlet):
         else:
             raise UnrecognizedRequestError()
 
+
 def _rule_spec_from_path(path):
     if len(path) < 2:
         raise UnrecognizedRequestError()
diff --git a/synapse/storage/push_rule.py b/synapse/storage/push_rule.py
index 6c38565773..c648c9960d 100644
--- a/synapse/storage/push_rule.py
+++ b/synapse/storage/push_rule.py
@@ -229,6 +229,7 @@ class PushRuleStore(SQLBaseStore):
                 {'enabled': False}
             )
 
+
 class RuleNotFoundException(Exception):
     pass