Project

General

Profile

Revision 0dff1e21

ID0dff1e21779b4417963d526972b7f5eba2541c22
Parent 8593dfcb
Child 55f2d54b

Added by Francois POIROTTE almost 7 years ago

[#1667] Préparation compatibilité Python 3

Change-Id: I6d31beff11682430369cc19faedee49019b28ac0
Refs: #1667

View differences:

vigiboard/controllers/root.py
623 623
                        "to VigiBoard"))
624 624
            try:
625 625
                condition.check_authorization(request.environ)
626
            except NotAuthorizedError, e:
626
            except NotAuthorizedError as e:
627 627
                reason = unicode(e)
628 628
                flash(reason, 'error')
629 629
                raise redirect(request.environ.get('HTTP_REFERER', '/'))

Also available in: Unified diff