]> Savannah Git Hosting - gnulib.git/commitdiff
gnulib-tool.py: Fix typo.
authorBruno Haible <bruno@clisp.org>
Thu, 4 Aug 2022 20:24:20 +0000 (22:24 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 4 Aug 2022 20:24:20 +0000 (22:24 +0200)
* pygnulib/GLImport.py (GLImport.execute): Actually handle file
removals.

ChangeLog
pygnulib/GLImport.py

index c290fc0123f3859b1a0b1f23736f4b56bd542030..1abeb15271023abc00ac787c6e4039008cce1fba 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2022-08-04  Bruno Haible  <bruno@clisp.org>
 
+       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.
index 1d014d68d26cb92be1368cbfbea93734e563622c..9dff29a6b3d635e4eddec3aa6a8b421554fc0120 100644 (file)
@@ -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: