Skip to content
Snippets Groups Projects
Commit 7b8dd328 authored by Enric Tejedor Saavedra's avatar Enric Tejedor Saavedra
Browse files

[PyROOT] Py3: Clear Python error before getting attribute

In Python3, if an error is set (e.g. because we tried to get an
attribute that does not exist from an object), any subsequent
get attribute operation will fail, even if the attribute is
present. Clearing the error after the first (failed) attribute
get solves the problem.
parent 63255ca5
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment