This is an automated email from the ASF dual-hosted git repository. sebb pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git
The following commit(s) were added to refs/heads/master by this push: new d179da8 Don't overload 'f' d179da8 is described below commit d179da843a539dc0da843a6c8c96d3d06a02a26e Author: Sebb <s...@apache.org> AuthorDate: Sat Dec 7 00:08:56 2024 +0000 Don't overload 'f' --- tools/push-failures.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/push-failures.py b/tools/push-failures.py index c46b906..90890af 100755 --- a/tools/push-failures.py +++ b/tools/push-failures.py @@ -42,8 +42,8 @@ print("Looking for *.json files in %s" % dumpDir) files = [f for f in os.listdir(dumpDir) if os.path.isfile(os.path.join(dumpDir, f)) and f.endswith(".json")] -for f in files: - fpath = os.path.join(dumpDir, f) +for file in files: + fpath = os.path.join(dumpDir, file) print("Processing %s" % fpath) with open(fpath, "r") as f: ojson = json.load(f)