about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-04-30 07:16:04 -0700
committerFranck Cuny <franck@fcuny.net>2024-04-30 07:16:04 -0700
commit79e2fe9b92ff594bab157265e86f5906eef1f0b6 (patch)
tree67141260443757cbbbd0be8ea4740a6b220537b4
parentenable ruff (diff)
downloadworld-79e2fe9b92ff594bab157265e86f5906eef1f0b6.tar.gz
improve variable's name
-rwxr-xr-xpackages/git-broom/git-broom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/git-broom/git-broom.py b/packages/git-broom/git-broom.py
index 8721b3c..b508357 100755
--- a/packages/git-broom/git-broom.py
+++ b/packages/git-broom/git-broom.py
@@ -77,8 +77,8 @@ class GitConfig(object):
             encoding="utf-8",
         ).stdout.splitlines()
 
-        for l in remote_head:
-            m = re_match_remote_branch.match(l)
+        for rh in remote_head:
+            m = re_match_remote_branch.match(rh)
             if m:
                 self.primary_branch = m.group("branch")
                 return