>From 04b0e50aecaf7a3c9abeb8e1533c12de0180bcdb Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Tue, 2 Apr 2024 01:29:24 +0200 Subject: [PATCH 3/4] gnulib-tool.py: Remove no-op statements. * pygnulib/GLConfig.py (GLConfig.update): Remove no-op statement. --- ChangeLog | 3 +++ pygnulib/GLConfig.py | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 7b730e56eb..3efa3fab71 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2024-04-02 Bruno Haible + gnulib-tool.py: Remove no-op statements. + * pygnulib/GLConfig.py (GLConfig.update): Remove no-op statement. + gnulib-tool.py: Remove unused imports. * pygnulib/GLFileSystem.py: Remove unused imports. * pygnulib/GLEmiter.py: Likewise. diff --git a/pygnulib/GLConfig.py b/pygnulib/GLConfig.py index 80719d35f2..de720488c9 100644 --- a/pygnulib/GLConfig.py +++ b/pygnulib/GLConfig.py @@ -286,7 +286,6 @@ class GLConfig(object): if self.isdefault(key, src): result[key] = dest else: # if not self.isdefault(key, src) - result[key] == src if not self.isdefault(key, dest): if key in ['modules', 'avoids', 'tests']: dest = sorted(set(src + dest)) -- 2.34.1