]> Savannah Git Hosting - gnulib.git/commit
gnulib-tool.py: Omit some unnecessary list() calls around sorted().
authorCollin Funk <collin.funk1@gmail.com>
Mon, 8 Apr 2024 01:49:24 +0000 (18:49 -0700)
committerBruno Haible <bruno@clisp.org>
Mon, 8 Apr 2024 18:35:33 +0000 (20:35 +0200)
commit5ac9d8767903ca1760034fb0a4d080cee27817a1
tree7d961350c00094ad8cad63aa16ee8e29e89fb787
parent323834962817af7b115187e8c9a833437f8d20ec
gnulib-tool.py: Omit some unnecessary list() calls around sorted().

* pygnulib/GLEmiter.py (GLEmiter.lib_Makefile_am): Remove the list()
call in the argument to sorted. The sorted() function works on any
iterable and always returns a list.
* pygnulib/GLImport.py (GLImport.rewrite_old_files)
(GLImport.rewrite_new_files): Likewise.
* pygnulib/GLModuleSystem.py (GLModuleTable.transitive_closure)
(GLModuleTable.transitive_closure_separately): Likewise.
* pygnulib/GLTestDir.py (GLTestDir.rewrite_files): Likewise.
ChangeLog
pygnulib/GLEmiter.py
pygnulib/GLImport.py
pygnulib/GLModuleSystem.py
pygnulib/GLTestDir.py