[openstack-dev] Use of local()

Monty Taylor mordred at inaugust.com
Fri Feb 8 04:35:23 UTC 2013



On 02/07/2013 08: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).

I agree with everything - EXCEPT - I think that we don't have to write
code to enforce this if we can get pyflakes to do it for us.

But I agree about hacking.py and flakes.py in projects near you.

Monty



More information about the OpenStack-dev mailing list