Mercurial > kallithea
diff tox.ini @ 5306:63bed817308c
cleanup: check for None object identity in cases where that is what the 'contract' says
Avoid applying bool() on complex objects - it might return something unexpected
such as the key (which might be 0 and thus be false). Checking for None is more
safe and faster.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Fri, 24 Jul 2015 16:37:40 +0200 |
parents | 8c1258f69892 |
children | 768989c595aa |