From 7ebab59ff57b6debb7696f7617360e23d244c918 Mon Sep 17 00:00:00 2001 From: James Adams Date: Mon, 15 Jul 2024 16:30:32 +0100 Subject: [PATCH] Rename parameter to something meaningful --- mrepo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mrepo.py b/mrepo.py index 7da93c6..139acf1 100755 --- a/mrepo.py +++ b/mrepo.py @@ -396,9 +396,9 @@ def linksync(self, repo, srcdirs=None): # destfiles is a list of (link_target_base, link_target_dir) tuples destfiles.sort() - def keyfunc(x): + def keyfunc(key): # compare the basenames - return x[0] + return key[0] changed = False for srcfile, destfile in synciter(srcfiles, destfiles, key=keyfunc):