avid.common.artefact.fileHelper

Functions

indent(elem[, level])

copy and paste from http://effbot.org/zone/element-lib.htm#prettyprint it basically walks your tree and adds spaces and newlines so the tree is printed in a nice way

load_artefact_collection_from_xml(filePath)

Loads a artefact list from a XML file.

save_artefacts_to_xml(filePath, artefacts[, ...])

Saves any container with artefacts as a XML file.

update_artefactlist(destination_file, ...[, ...])

Helper function that updates the content of an artefact file with a passed artefact list.