Skip to content
Snippets Groups Projects
Commit 046abcd3 authored by scott snyder's avatar scott snyder Committed by scott snyder
Browse files

AthenaPython: Handle MetaCont in FilePeekerLib.

In FilePeekerLib, handle the case where we get a
MetaCont<IOVMetaDataContainer> rather than IOVMetaDataContainer itself.
parent faf99d2e
No related branches found
No related tags found
No related merge requests found
Pipeline #1405979 passed
......@@ -173,6 +173,8 @@ class FilePeeker(PyAthena.Alg):
except KeyError:
msg.warning('could not retrieve [%s]', metadata_name)
return
if str(obj).find('MetaCont') >= 0:
obj = obj.get (obj.sources()[0])
msg.info('processing container [%s]', obj.folderName())
data = []
payloads = obj.payloadContainer()
......
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