[openstack-dev] Use of local()

Nachi Ueno nachi at nttmcl.com
Thu Feb 7 18:23:08 UTC 2013


Hi folks

I wanna ask the opinion of use of local()
This function is mainly used for logging because of no need to specify
actual parameters.

However, the variable ,which code checker says it is not used, is used
by local() sometimes.
so I prefer not to use local() .
I also believe to specify used parameter improves readability of the code.

I appreciate if I could get the opinion on the community.

Thanks
Nachi



More information about the OpenStack-dev mailing list