[PATCH] umask for multiple commiters

Christian Ebert blacktrash at gmx.net
Tue Oct 24 05:33:13 CDT 2006


* Alexis S. L. Carvalho on Tuesday, October 24, 2006 at 01:31:19 -0300:
> Thus spake Aurelien Jacobs:
>> +        if st_mode != None:
> 
> "st_mode is not None" is more idiomatic - but I'm already nitpicking.

If I do something like this, pychecker complains:

|Using is not None, may not always work

So which nitpick should one follow?

c
-- 
_B A U S T E L L E N_ lesen! --->> <http://www.blacktrash.org/baustellen.html>


More information about the Mercurial-devel mailing list