[Yum-devel] Pylint errors
Mike Bonnet
mikeb at redhat.com
Fri Apr 30 19:09:29 UTC 2010
On 04/30/2010 02:40 PM, Seth Vidal wrote:
>
>
> On Fri, 30 Apr 2010, Mike Bonnet wrote:
>
>>>>
>>>> I think this fall through is on purpose, but I know who would know.
>>>> I'll ask spot or dgilmore.
>>>
>>> I asked dgilmore he said:
>>> [13:59] <dgilmore> skvidal: there both right
>>> [13:59] <tibbs> Hmm, OK.
>>> [13:59] <skvidal> dgilmore: seriously?
>>> [14:00] <dgilmore> skvidal: yep
>>> [14:00] <skvidal> ooooooookie doke
>>> [14:00] <dgilmore> skvidal: sparcv9 -> sparcv9v ->sparc64 ->sparc64v
>>> [14:00] <dgilmore> skvidal: sparcv9 -> sparc64
>>> [14:00] <dgilmore> depending on the hardware
>>>
>>> so - leave them as is - so we can properly traverse them.
>>
>> Isn't the second entry just going to overwrite the first?
>>
>>>>> test = {"sparc64v": "sparc64", "sparc64v": "sparcv9v"}
>>>>> test
>> {'sparc64v': 'sparcv9v'}
>>
>> Looks like you need to pick one.
>
> do you have a preference? :)
If the dict is trying to create a "most powerful/modern to least
powerful/modern" ordering, I'd suggest this:
# sparc
"sparc64v": "sparc64",
"sparc64": "sparcv9v",
"sparcv9v": "sparcv9",
"sparcv9": "sparcv8",
"sparcv8": "sparc",
"sparc": "noarch",
Assuming sparc64 ≥ sparcv9v, which is what the conversation with
dgilmore seems to imply.
More information about the Yum-devel
mailing list