From fef3a610332a955c6ca29fdecdcb719fde4f7162 Mon Sep 17 00:00:00 2001 From: Collin Funk Date: Sun, 14 Apr 2024 19:00:35 -0700 Subject: [PATCH 3/3] gnulib-tool.py: Remove an unused variable. * pygnulib/GLTestDir.py (GLTestDir.execute): Remove the unused directories variable. --- ChangeLog | 6 ++++++ pygnulib/GLTestDir.py | 5 ----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index cf52f56b19..32e454d32e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2024-04-14 Collin Funk + + gnulib-tool.py: Remove an unused variable. + * pygnulib/GLTestDir.py (GLTestDir.execute): Remove the unused + directories variable. + 2024-04-14 Collin Funk gnulib-tool.py: Refactor file name transformations. diff --git a/pygnulib/GLTestDir.py b/pygnulib/GLTestDir.py index dee8d629dc..8ebe28b70a 100644 --- a/pygnulib/GLTestDir.py +++ b/pygnulib/GLTestDir.py @@ -343,11 +343,6 @@ def execute(self) -> None: filelist += ['build-aux/config.guess', 'build-aux/config.sub'] filelist = sorted(set(filelist)) - # Create directories. - directories = [os.path.dirname(file) - for file in self.rewrite_files(filelist)] - directories = sorted(set(directories)) - # Copy files or make symbolic links or hard links. filetable = list(zip(self.rewrite_files(filelist), filelist)) for row in filetable: -- 2.44.0