[openstack-dev] "if X not in Y" vs. "if not X in Y" consensus?

Gu Zheng guz.fnst at cn.fujitsu.com
Thu Jan 31 10:09:36 UTC 2013


On 01/31/2013 01:36 PM, Zhongyue Luo wrote:

> Hi, all
> 
> 
> What I'm suggesting is that we should add an entry in HACKING.rst stating we
> should use "if X not in Y" and prevent mix use of the two.
> 
> Would there be any reason why we shouldn't do this? such as it adds more burden
> to reviewers, or because we should have the freedom to choose whatever we want
> to use?
> 

+1
Consistent coding style is needed.

> -- 
> *Intel SSG/SSD/SOTC/PRC/CITT*
> 880 Zixing Road, Zizhu Science Park, Minhang District, Shanghai, 200241, China
> +862161166500
> 
> 
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev





More information about the OpenStack-dev mailing list