]> Savannah Git Hosting - gnulib.git/commitdiff
gnulib-tool.py: Use case-sensitive sorting for file names.
authorCollin Funk <collin.funk1@gmail.com>
Mon, 1 Apr 2024 01:00:16 +0000 (18:00 -0700)
committerBruno Haible <bruno@clisp.org>
Mon, 1 Apr 2024 13:04:04 +0000 (15:04 +0200)
* pygnulib/GLImport.py (GLImport.prepare): Remove the str.lower key from
the call to sorted().

ChangeLog
pygnulib/GLImport.py

index d6afda967e9d5063d9b5dd9509dbd82cfcbc0199..441bbb4ceb6d7a31f7a224c6b6549070bf530f81 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-04-01  Collin Funk  <collin.funk1@gmail.com>
+
+       gnulib-tool.py: Use case-sensitive sorting for file names.
+       * pygnulib/GLImport.py (GLImport.prepare): Remove the str.lower key from
+       the call to sorted().
+
 2024-04-01  Paul Eggert  <eggert@cs.ucla.edu>
 
        getcwd: port better to buggy file systems
index 294a8df9790aa0f02badef4bbe9bb8b888219754..0adfd8a73c684fcf6ef77b5f300b1da8392b81fe 100644 (file)
@@ -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)