Skip to content
Snippets Groups Projects
Unverified Commit b64b9619 authored by Olivier Dony's avatar Olivier Dony
Browse files

[MERGE] Forward-port saas-6 up to 447179c2

parents 0b87f766 447179c2
No related branches found
No related tags found
No related merge requests found
......@@ -225,7 +225,7 @@ class xml_import(object):
context.update(ctx_res)
else:
context = ctx_res
except ValueError, NameError:
except (ValueError, NameError):
# Some contexts contain references that are only valid at runtime at
# client-side, so in that case we keep the original context string
# as it is. We also log it, just in case.
......@@ -407,7 +407,7 @@ form: module.record_id""" % (xml_id,)
try:
domain = safe_eval(domain, eval_context)
except NameError:
except (ValueError, NameError):
# Some domains contain references that are only valid at runtime at
# client-side, so in that case we keep the original domain string
# as it is. We also log it, just in case.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment