From 49adb8c6c480d42a2ad90f52fde10df9929506fb Mon Sep 17 00:00:00 2001 From: Collin Funk Date: Sun, 18 Feb 2024 16:52:45 -0800 Subject: [PATCH] gnulib-tool.py: Fix function call on incorrect object. * pygnulib/GLImport.py: Call checkInclTestCategory on the GLConfig member instead of the GLImport object itself. * pygnulib/__init__.py: Update copyright dates. * pygnulib/constants.py: Update copyright dates. --- ChangeLog | 8 ++++++++ pygnulib/GLImport.py | 2 +- pygnulib/__init__.py | 2 +- pygnulib/constants.py | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3a8559bfb3..b8d484e8da 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2024-02-18 Collin Funk + + gnulib-tool.py: Fix function call on incorrect object. + * pygnulib/GLImport.py: Call checkInclTestCategory on the + GLConfig member instead of the GLImport object itself. + * pygnulib/__init__.py: Update copyright dates. + * pygnulib/constants.py: Update copyright dates. + 2024-02-18 Bruno Haible maint.mk: Add more comments. diff --git a/pygnulib/GLImport.py b/pygnulib/GLImport.py index b09ba9868c..68b2e7b0bb 100644 --- a/pygnulib/GLImport.py +++ b/pygnulib/GLImport.py @@ -240,7 +240,7 @@ class GLImport(object): modules = self.cache.getModules() # If user tries to apply conddeps and TESTS['tests'] together. - if self.checkInclTestCategory(TESTS['tests']) and self.config['conddeps']: + if self.config.checkInclTestCategory(TESTS['tests']) and self.config['conddeps']: raise GLError(10, None) # Update configuration dictionary. diff --git a/pygnulib/__init__.py b/pygnulib/__init__.py index 37cd33ef90..b9050a98ac 100644 --- a/pygnulib/__init__.py +++ b/pygnulib/__init__.py @@ -30,6 +30,6 @@ coding standards, the GNU maintainer information, the GPL and other licenses (in Texinfo), assorted configuration scripts, and more. The goal is to provide all the common infrastructure needed by GNU packages.''' -__copyright__ = '2012-2022 Free Software Foundation, Inc.' +__copyright__ = '2012-2024 Free Software Foundation, Inc.' __author__ = 'Dmitry Selyutin' __license__ = 'GNU GPLv3+' diff --git a/pygnulib/constants.py b/pygnulib/constants.py index a7e3d99ceb..a5554956c1 100644 --- a/pygnulib/constants.py +++ b/pygnulib/constants.py @@ -42,7 +42,7 @@ __author__ = \ 'Dmitry Selyutin', ] __license__ = 'GNU GPLv3+' -__copyright__ = '2002-2022 Free Software Foundation, Inc.' +__copyright__ = '2002-2024 Free Software Foundation, Inc.' #=============================================================================== -- 2.39.2