Unify v1 and v2 REST client APIs (#5226)

This commit is contained in:
Amber Brown authored and GitHub committed 2019-06-03 21:28:59 +10:00
1 parent d828d1dc57
commit 2889b05554
43 files changed
+296 -317

No files matched your search

+1 -3
View File
@@ -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)