[Yum-devel] Pylint errors

Mike Bonnet mikeb at redhat.com
Fri Apr 30 19:23:37 UTC 2010


On 04/30/2010 03:13 PM, Seth Vidal wrote:
> 
> 
> On Fri, 30 Apr 2010, Mike Bonnet wrote:
> 
>> 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.
> 
> Except I don't think you can do sparc64-> sparcv9v
> I think you can only do sparc64v -> sparcv9v
> 
> but I don't actually KNOW that.

Can we go sparcv9v -> sparc64 ?  If so then there's another complete
ordering.


More information about the Yum-devel mailing list