summary refs log tree commit diff
path: root/synapse/push
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2019-01-30 10:53:17 +0000
committerGitHub <noreply@github.com>2019-01-30 10:53:17 +0000
commit3f189c902ea1146a497512049aa38fe9a0a91169 (patch)
treea5681bf0f6c239cb453e51a5442bc363a52bd60c /synapse/push
parentMerge pull request #4486 from xperimental/workaround-4216 (diff)
downloadsynapse-3f189c902ea1146a497512049aa38fe9a0a91169.tar.xz
Fix flake8 (#4519)
Diffstat (limited to 'synapse/push')
-rw-r--r--synapse/push/clientformat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/push/clientformat.py b/synapse/push/clientformat.py
index ecbf364a5e..8bd96b1178 100644
--- a/synapse/push/clientformat.py
+++ b/synapse/push/clientformat.py
@@ -84,7 +84,7 @@ def _rule_to_template(rule):
         templaterule["pattern"] = thecond["pattern"]
 
     if unscoped_rule_id:
-            templaterule['rule_id'] = unscoped_rule_id
+        templaterule['rule_id'] = unscoped_rule_id
     if 'default' in rule:
         templaterule['default'] = rule['default']
     return templaterule