From 025c3a6a61234b29aa172eb096c24affefe3f384 Mon Sep 17 00:00:00 2001 From: Collin Funk Date: Sun, 31 Mar 2024 18:00:16 -0700 Subject: [PATCH] gnulib-tool.py: Use case-sensitive sorting for files. * pygnulib/GLImport.py (GLImport.prepare): Remove the str.lower key from the call to sorted(). --- ChangeLog | 6 ++++++ pygnulib/GLImport.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6a2b024832..5381e276c6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2024-03-31 Collin Funk + + gnulib-tool.py: Use case-sensitive sorting for files. + * pygnulib/GLImport.py (GLImport.prepare): Remove the str.lower key from + the call to sorted(). + 2024-03-31 Collin Funk gnulib-tool.py: Add missing quotation mark to reminder. diff --git a/pygnulib/GLImport.py b/pygnulib/GLImport.py index 294a8df979..0adfd8a73c 100644 --- a/pygnulib/GLImport.py +++ b/pygnulib/GLImport.py @@ -942,7 +942,7 @@ AC_DEFUN([%s_FILE_LIST], [\n''' % macro_prefix # Determine the final file lists. main_filelist, tests_filelist = \ self.moduletable.filelist_separately(main_modules, tests_modules) - filelist = sorted(set(main_filelist + tests_filelist), key=str.lower) + filelist = sorted(set(main_filelist + tests_filelist)) if not filelist: raise GLError(12, None) -- 2.44.0