__pkginfo__.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 20 Jan 2017 15:16:18 +0100
branch3.24
changeset 11917 c38e13988c10
parent 11382 dab704a0e4b1
permissions lrwxrwxrwx
Fix str(Unauthorized) which is really problematic on python 3 where __unicode__ is never called anymore. This was caused because in PY3, CubicWebException.__str__ was referencing __unicode__ implementation of CubicWebException, not of its subclass that implements it. Fix a flake8 style warning about lambda assignment as a bonus.

cubicweb/__pkginfo__.py