author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Wed, 25 May 2011 14:08:29 +0200 | |
branch | stable |
changeset 7437 | a1f48d7c8a03 |
parent 7435 | a2c83140794e |
child 7438 | ff6ae47bb688 |
child 7443 | c10164464afc |
--- a/web/views/basecomponents.py Wed May 25 13:36:25 2011 +0200 +++ b/web/views/basecomponents.py Wed May 25 14:08:29 2011 +0200 @@ -191,7 +191,8 @@ msgs = [] if self._cw.cnx: srcmsg = self._cw.get_shared_data('sources_error', pop=True) - msgs.append(srcmsg) + if srcmsg: + msgs.append(srcmsg) reqmsg = self._cw.message # XXX don't call self._cw.message twice if reqmsg: msgs.append(reqmsg)