]> Savannah Git Hosting - gnulib.git/commit
gnulib-tool.py: Make a module's name immediately accessible.
authorBruno Haible <bruno@clisp.org>
Sun, 31 Mar 2024 12:00:48 +0000 (14:00 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 31 Mar 2024 12:00:48 +0000 (14:00 +0200)
commitb8c1a30f1ba15edd0baa4a5af4e54d35c4380848
tree3213ccb14ecad89376a381c2962563d933c9370d
parentaa3eb8a6c67e7a390241a445508ed756b8256a2d
gnulib-tool.py: Make a module's name immediately accessible.

* pygnulib/GLModuleSystem.py (GLModuleSystem.find): Pass the module name
to the GLModule constructor.
(GLModule.__init__): Accept the module's name as argument and store it.
(GLModule.getName): Simplify.
ChangeLog
pygnulib/GLModuleSystem.py