Reported by Gavin Smith <gavinsmith0123@gmail.com> in
<https://lists.gnu.org/archive/html/bug-gnulib/2024-11/msg00101.html>.
* pygnulib/GLImport.py (GLImport.__init__): Compute the modules to keep
correctly.
+2024-11-12 Bruno Haible <bruno@clisp.org>
+
+ gnulib-tool.py: Fix logic of --remove-import option.
+ Reported by Gavin Smith <gavinsmith0123@gmail.com> in
+ <https://lists.gnu.org/archive/html/bug-gnulib/2024-11/msg00101.html>.
+ * pygnulib/GLImport.py (GLImport.__init__): Compute the modules to keep
+ correctly.
+
2024-11-11 Bruno Haible <bruno@clisp.org>
fts: Fix dependencies.
elif self.mode == MODES['remove-import']:
modules = [ module
for module in old
- if module in new ]
+ if not module in new ]
elif self.mode == MODES['update']:
modules = self.cache.getModules()