From: Collin Funk Date: Thu, 18 Apr 2024 17:46:33 +0000 (-0700) Subject: gnulib-tool.py: Remove some unused instance variables. X-Git-Tag: v1.0~42 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=335308248259189587efbbaf5a923eff1ff66151;p=gnulib.git gnulib-tool.py: Remove some unused instance variables. * pygnulib/GLModuleSystem.py (GLModuleSystem.__init__) (GLModule.__init__): Remove unused 'args' instance variable. --- diff --git a/ChangeLog b/ChangeLog index 1667f90c55..4c676da6f8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2024-04-19 Collin Funk + + gnulib-tool.py: Remove some unused instance variables. + * pygnulib/GLModuleSystem.py (GLModuleSystem.__init__) + (GLModule.__init__): Remove unused 'args' instance variable. + 2024-04-19 Paul Eggert fstatat, stat: document macOS st_ino pipe bug diff --git a/pygnulib/GLModuleSystem.py b/pygnulib/GLModuleSystem.py index 40ac591dc4..efc39ec925 100644 --- a/pygnulib/GLModuleSystem.py +++ b/pygnulib/GLModuleSystem.py @@ -63,7 +63,6 @@ class GLModuleSystem: '''Create new GLModuleSystem instance. Some functions use GLFileSystem class to look up a file in localpath or gnulib directories, or combine it through 'patch' utility.''' - self.args = dict() if type(config) is not GLConfig: raise TypeError('config must be a GLConfig, not %s' % type(config).__name__) @@ -185,7 +184,6 @@ class GLModule: - name, the name of the module, - path, the file name of the (possibly patched) module description, - patched, indicating whether that module description was created by applying a patch.''' - self.args = dict() self.cache = dict() self.content = '' if type(config) is not GLConfig: