>From c0c72120f0a9e1514d5a46d3588bf40bdbd20be4 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 4 Aug 2022 22:24:20 +0200 Subject: [PATCH 9/9] gnulib-tool.py: Fix typo. * pygnulib/GLImport.py (GLImport.execute): Actually handle file removals. --- ChangeLog | 4 ++++ pygnulib/GLImport.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c290fc0123..1abeb15271 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2022-08-04 Bruno Haible + gnulib-tool.py: Fix typo. + * pygnulib/GLImport.py (GLImport.execute): Actually handle file + removals. + gnulib-tool.py: Coding style: Revisit line breaks. * gnulib-tool.py: Avoid line breaks at arbitrary points inside expressions. Use line breaks to clarify [... for ...] iterations. diff --git a/pygnulib/GLImport.py b/pygnulib/GLImport.py index 1d014d68d2..9dff29a6b3 100644 --- a/pygnulib/GLImport.py +++ b/pygnulib/GLImport.py @@ -1053,7 +1053,7 @@ AC_DEFUN([%s_FILE_LIST], [\n''' % macro_prefix # They will be removed and added to filetable['removed'] list. pairs = [ f for f in filetable['old'] - if f not in filetable['old'] ] + if f not in filetable['new'] ] pairs = sorted(set(pairs), key=lambda t: tuple(t[0].lower())) files = sorted(set(pair[0] for pair in pairs)) for file in files: -- 2.34.1