From 78dd963035d9903be68b5376552cccb9711b48e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferit=20Yi=C4=9Fit=20BALABAN?= Date: Sat, 11 Feb 2023 00:47:26 +0300 Subject: [PATCH] ! refactor var. name in deploy() --- dotman.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dotman.py b/dotman.py index d0bab8c..3cd0f73 100755 --- a/dotman.py +++ b/dotman.py @@ -202,10 +202,10 @@ def deploy(): r.removesuffix("/")[:r.removesuffix("/").rindex("/")] run(shlex.split(f"/usr/bin/git clone {SETTINGS[URL_REPO]}"), text=True, cwd=r) run(shlex.split("/usr/bin/git pull"), text=True, cwd=r) - for files in DL_FILES: + for file in DL_FILES: copy(files) - for dirs in DL_DIRS: - copy(dirs) + for directory in DL_DIRS: + copy(directory) def expand_settings():