On Thu, Dec 27, 2012 at 11:39 AM, Cleber Rosa <[email protected]> wrote:
> On 12/23/2012 03:14 PM, Lucas Meneghel Rodrigues wrote:
>>
>> On 12/23/2012 04:10 PM, Lucas Meneghel Rodrigues wrote:
>>>
>>> On 12/21/2012 01:41 PM, Cleber Rosa wrote:
>>>
>>> Here I'm thinking: If we're giving ourselves to the trouble of changing
>>> this throughout all the callers, why not change the API to make it less
>>> horrible to look at?
>>>
>>> import autotest.client.shared.settings
>>>
>>> value = settings.Settings.get_value(...)
>>
>>
>> Actually, this would be more like
>>
>> from autotest.client.shared import settings
>>
>> stg = settings.Settings()
>>
>> value = stg.get_value(...)
>>
>
> I like this a whole lot more. Should we drop the usage of the singleton
> then?

Oh *yes*. We could do just as fine with the Borg class I believe.

_______________________________________________
Autotest-kernel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/autotest-kernel

Reply via email to