diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2019-06-03 21:28:59 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-03 21:28:59 +1000 |
commit | 2889b055543c8db6bf93eaad7035d0eca1ec2874 (patch) | |
tree | 6dde18a9193bb681b5ec014e4ee41b7b85f034c5 /scripts-dev | |
parent | Merge pull request #5309 from matrix-org/rav/limit_displayname_length (diff) | |
download | synapse-2889b055543c8db6bf93eaad7035d0eca1ec2874.tar.xz |
Unify v1 and v2 REST client APIs (#5226)
Diffstat (limited to 'scripts-dev')
-rwxr-xr-x | scripts-dev/list_url_patterns.py | 4 |
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) |