summary refs log tree commit diff
path: root/scripts-dev/list_url_patterns.py
diff options
context:
space:
mode:
authorJonathan de Jong <jonathan@automatia.nl>2021-04-20 12:50:49 +0200
committerGitHub <noreply@github.com>2021-04-20 11:50:49 +0100
commit495b214f4f8f45d16ffee851c8ab7a380dd0e2b2 (patch)
tree1aa4d00ca13939808946f994545dd9f136d2d256 /scripts-dev/list_url_patterns.py
parentPort "Allow users to click account renewal links multiple times without hitti... (diff)
downloadsynapse-495b214f4f8f45d16ffee851c8ab7a380dd0e2b2.tar.xz
Fix (final) Bugbear violations (#9838)
Diffstat (limited to 'scripts-dev/list_url_patterns.py')
-rwxr-xr-xscripts-dev/list_url_patterns.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts-dev/list_url_patterns.py b/scripts-dev/list_url_patterns.py
index 26ad7c67f4..e85420dea8 100755
--- a/scripts-dev/list_url_patterns.py
+++ b/scripts-dev/list_url_patterns.py
@@ -48,7 +48,7 @@ args = parser.parse_args()
 
 
 for directory in args.directories:
-    for root, dirs, files in os.walk(directory):
+    for root, _, files in os.walk(directory):
         for filename in files:
             if filename.endswith(".py"):
                 filepath = os.path.join(root, filename)