Skip to content
Snippets Groups Projects
Commit 5bc5e0e5 authored by Marko Petric's avatar Marko Petric
Browse files

Merge branch 'v10r2_HACK_21.04.23' into 'devel'

[V10r2] Hackaton fixes 21.04.23

See merge request lhcb-dirac/LHCbDIRAC!990
parents 03e280fd 89c844d2
No related branches found
No related tags found
No related merge requests found
......@@ -31,6 +31,8 @@ install_requires =
requests
six
uproot
# needed to extract guid with uproot
awkward
xmltodict
zip_safe = False
include_package_data = True
......
......@@ -45,8 +45,8 @@ def getRootFileGUID(fileName):
if item.startswith('FID='):
return S_OK(item.split('=')[1])
return S_ERROR('GUID not found')
except Exception:
errorMsg = 'Error extracting GUID'
except Exception as e:
errorMsg = 'Error extracting GUID: %s' % e
return S_ERROR(errorMsg)
......
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