]> Savannah Git Hosting - gnulib.git/commit
gnulib-tool.py: Make use of GLModule's __hash__ method.
authorCollin Funk <collin.funk1@gmail.com>
Fri, 19 Apr 2024 19:00:33 +0000 (12:00 -0700)
committerBruno Haible <bruno@clisp.org>
Fri, 19 Apr 2024 21:15:57 +0000 (23:15 +0200)
commitb9fa78e2a0501c715e001cc1353d2c0c2d29c968
tree33fd6e17517d869defbe728e0b06e0a79584e64d
parentefc1cb630b04bf553f246be1b1a4ba548483bdfe
gnulib-tool.py: Make use of GLModule's __hash__ method.

* pygnulib/GLModuleSystem.py (GLModuleTable.addUnconditional)
(GLModuleTable.isConditional): Use the GLModule object instead of the
module name directly.
(GLModuleTable.addConditional, GLModuleTable.getCondition): Likewise.
Use a tuple of two GLModule objects as a key for the conditionals
dictionary.
ChangeLog
pygnulib/GLModuleSystem.py