[FIX] _extensions: p3 compatibility (2)

This commit is contained in:
Olivier Dony 2018-05-30 11:19:30 +02:00
parent ff2c6db57c
commit 914c5ebc18

View File

@ -125,7 +125,7 @@ def _submit(result_queue, xid, view='form'):
def _launcher():
try:
info = xmlrpclib.ServerProxy('https://demo.odoo.com/start').start()
except xmlrpclib.Fault, e:
except xmlrpclib.Fault as e:
threading.Thread(
target=_fault_requests,
args=["Demo start() failed: %s" % e.faultString],