From b53e50babb088657b8c17f51a60f209fe0fa1752 Mon Sep 17 00:00:00 2001 From: jonathan nifenecker Date: Fri, 12 Jun 2020 11:06:55 +0200 Subject: [PATCH] weboob.exceptions: BrowserQuestion use the correct parent's __str__ Due to inheritance order, Exception.__str__ was overiding StrConv.__str__ for BrowserQuestion in python3. the exception message was then an helpless: "" --- weboob/exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weboob/exceptions.py b/weboob/exceptions.py index 111bf9d396..94063021ab 100644 --- a/weboob/exceptions.py +++ b/weboob/exceptions.py @@ -42,7 +42,7 @@ class BrowserInteraction(Exception): pass -class BrowserQuestion(BrowserInteraction, StrConv): +class BrowserQuestion(StrConv, BrowserInteraction): """ When raised by a browser, """ -- GitLab