[openstack-dev] Use of local()

Sean Dague sdague at linux.vnet.ibm.com
Fri Feb 8 12:02:32 UTC 2013


On 02/08/2013 12:13 AM, Jay Pipes wrote:
> On 02/07/2013 09:58 PM, Sean Dague wrote:
>> On 02/07/2013 06:04 PM, Nachi Ueno wrote:
>>>> I suspect we should just slowly transition as people touch code.
>>>
>>> I agree. The reason why I asked this is for reviewing.
>>> so I'll comment not to use local() in review.
>>
>> If we have rough concensus start with updating HACKING in the relevant
>> projects. Then I suggest a grind through replacing the code. Once it's
>> out we can enforce it in hacking.py (comming soon to a project near you,
>> and not just in nova and tempest).
>
> Go for it. Jason's suggestion for allowing LOG.debug() et al messages to
> allow kwargs would make things much more readable than supplying huge
> manually-coded dicts.

+1, that was a nice suggestion.

-- 
Sean Dague
IBM Linux Technology Center
email: sdague at linux.vnet.ibm.com
alt-email: sldague at us.ibm.com




More information about the OpenStack-dev mailing list