From 930cf87103284941514283c2a5f6c55cdc56294d Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Fri, 24 Feb 2023 14:56:23 +0000 Subject: [Lint] Update pre-commit apps to latest versions Also update github CI action versions --- generate_pot.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'generate_pot.py') diff --git a/generate_pot.py b/generate_pot.py index efbdc7824..fdc7baec3 100755 --- a/generate_pot.py +++ b/generate_pot.py @@ -39,7 +39,7 @@ xgettext_cmd = [ ] to_translate = [] -for (dirpath, dirnames, filenames) in os.walk('deluge'): +for dirpath, dirnames, filenames in os.walk('deluge'): for filename in filenames: if dirpath not in EXCLUSIONS and not RE_EXC_PLUGIN_BUILD.match(dirpath): filepath = os.path.join(dirpath, filename) @@ -67,13 +67,13 @@ call(xgettext_cmd) # find javascript files js_to_translate = [] -for (dirpath, dirnames, filenames) in os.walk(WEBUI_JS_DIR): +for dirpath, dirnames, filenames in os.walk(WEBUI_JS_DIR): for filename in filenames: if os.path.splitext(filename)[1] == '.js': js_to_translate.append(os.path.join(dirpath, filename)) # find render html files -for (dirpath, dirnames, filenames) in os.walk(WEBUI_RENDER_DIR): +for dirpath, dirnames, filenames in os.walk(WEBUI_RENDER_DIR): for filename in filenames: if os.path.splitext(filename)[1] == '.html': js_to_translate.append(os.path.join(dirpath, filename)) -- cgit v1.2.3