[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnulib-tool.py: Don't discard the 'dummy' module.
From: |
Collin Funk |
Subject: |
Re: gnulib-tool.py: Don't discard the 'dummy' module. |
Date: |
Sat, 30 Mar 2024 17:59:42 -0700 |
User-agent: |
Mozilla Thunderbird |
On 3/30/24 4:29 PM, Bruno Haible wrote:
> I see. This is similar to the initial code for the GLMakefileTable, which
> cloned the table row in the getter. Here it sorted the lists in the setter.
> Feels like a "safety first" attitude that was slightly exaggerated.
Maybe. I also added 'sorted(set(module_list))' in many places where it
*probably* wasn't necessary.
I figured trying to copy the use of 'sort' and 'sort -u' in
gnulib-tool.sh was the easiest way to get close to the same output. I
imagine many of those times the only purpose of 'sort' was to make
sure that 'join' worked since it requires the field being joined on to
be sorted right?
Collin