]> Savannah Git Hosting - gnulib.git/commitdiff
gnulib-tool.py: Remove some unused instance variables.
authorCollin Funk <collin.funk1@gmail.com>
Thu, 18 Apr 2024 17:46:33 +0000 (10:46 -0700)
committerBruno Haible <bruno@clisp.org>
Fri, 19 Apr 2024 11:49:19 +0000 (13:49 +0200)
* pygnulib/GLModuleSystem.py (GLModuleSystem.__init__)
(GLModule.__init__): Remove unused 'args' instance variable.

ChangeLog
pygnulib/GLModuleSystem.py

index 1667f90c55c7f9fd62bb2b28b12a9f9def7e3ac4..4c676da6f8c8acbbb7f86bb0e4c0a3f354da5ccd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-04-19  Collin Funk  <collin.funk1@gmail.com>
+
+       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  <eggert@cs.ucla.edu>
 
        fstatat, stat: document macOS st_ino pipe bug
index 40ac591dc49dfc58b7bdbc76e8b5e4cc835014ea..efc39ec92506b55aa0e85888b6a2c96438292935 100644 (file)
@@ -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: