From c0c72120f0a9e1514d5a46d3588bf40bdbd20be4 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 4 Aug 2022 22:24:20 +0200 Subject: gnulib-tool.py: Fix typo. * pygnulib/GLImport.py (GLImport.execute): Actually handle file removals. --- pygnulib/GLImport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pygnulib/GLImport.py') 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: -- cgit v1.2.1