Skip to content
Snippets Groups Projects
Commit 2aca98f7 authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

Merge branch 'py3.PyUtils-20200302' into 'master'

PyUtils: More python 3 fixes

See merge request atlas/athena!30801
parents 7a981570 88cf8709
No related branches found
No related tags found
No related merge requests found
......@@ -393,7 +393,11 @@ def _read_guid(filename):
for i in range(params.GetEntries()):
params.GetEntry(i)
param = params.db_string
# Work around apparent pyroot issue:
# If we try to access params.db_string directly, we see trailing
# garbage, which can confuse python's bytes->utf8 conversion
# and result in an error.
param = params.GetLeaf('db_string').GetValueString()
result = regex.match(param)
if result:
......
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