def _get_indentation(string):
    return len(string) - len(string.lstrip(' '))
Return a pretty-printed XML string for the Element.
dataset/ETHPy150Open openstack/proliantutils/proliantutils/hpssa/objects.py/_get_indentation--crossover with--dataset/ETHPy150Open lsaffre/lino/lino/utils/xmlgen/__init__.py/pretty_print