Mercurial > hg
diff i18n/ru.po @ 31434:d4645ae6ba15
hgweb: explicitly tests for None in webutil
Changeset d2878bec55bd removed the mutable default value, but did not explicitly
tested for None. Such implicit testing can introduce semantic and performance
issue. We move to an explicit testing for None as recommended by PEP8:
https://www.python.org/dev/peps/pep-0008/#programming-recommendations
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Wed, 15 Mar 2017 15:10:09 -0700 |
parents | 4acf569facef |
children | f715faeaceee |