debian/cubicweb-web.install.in
author Rémi Cardona <remi.cardona@logilab.fr>
Thu, 24 Apr 2014 12:28:46 +0200
changeset 9780 8e687be43d84
parent 9208 7ae95f48e2f0
child 10117 bf962b760082
permissions -rw-r--r--
Remove redundant __nonzero__ methods From https://docs.python.org/2/reference/datamodel.html#specialnames : When this method is not defined, __len__() is called, if it is defined, and the object is considered true if its result is nonzero. Also helpful for an eventual migration to py3k, as __nonzero__ has been replaced with __bool__, which also defaults to looking at __len__ if undefined.

usr/lib/PY_VERSION/*-packages/cubicweb/web
usr/share/cubicweb/cubes/shared/data
usr/share/cubicweb/cubes/shared/wdoc