summary refs log tree commit diff
path: root/scripts-dev/list_url_patterns.py
diff options
context:
space:
mode:
authorAmber H. Brown <hawkowl@atleastfornow.net>2019-06-18 21:20:13 +1000
committerAmber H. Brown <hawkowl@atleastfornow.net>2019-06-18 21:20:13 +1000
commite60aab14b4203b91bad23417b1664289b4b558b6 (patch)
tree1ea1d01dd14ad85d5eeda1c460282f7c615dd55c /scripts-dev/list_url_patterns.py
parentMerge remote-tracking branch 'origin/master' into shhs (diff)
parentFix seven contrib files with Python syntax errors (#5446) (diff)
downloadsynapse-e60aab14b4203b91bad23417b1664289b4b558b6.tar.xz
Merge remote-tracking branch 'origin/develop' into shhs
Diffstat (limited to 'scripts-dev/list_url_patterns.py')
-rwxr-xr-xscripts-dev/list_url_patterns.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts-dev/list_url_patterns.py b/scripts-dev/list_url_patterns.py

index da027be26e..62e5a07472 100755 --- a/scripts-dev/list_url_patterns.py +++ b/scripts-dev/list_url_patterns.py
@@ -20,9 +20,7 @@ class CallVisitor(ast.NodeVisitor): else: return - if name == "client_path_patterns": - PATTERNS_V1.append(node.args[0].s) - elif name == "client_v2_patterns": + if name == "client_patterns": PATTERNS_V2.append(node.args[0].s)