def indent_xml(xml_string):
    if isinstance(xml_string, unicode):
        xml_string = xml_string.encode('utf-8')
    return minidom.parseString(xml_string).toprettyxml()
Copy the files from src to the target node
dataset/ETHPy150Open dimagi/commcare-hq/corehq/util/xml_utils.py/indent_xml--crossover with--dataset/ETHPy150Open CenterForOpenScience/osf.io/website/files/utils.py/copy_files