def _get_indentation(string):
    return len(string) - len(string.lstrip(' '))
Return the number of spaces before the current line.
dataset/ETHPy150Open openstack/proliantutils/proliantutils/hpssa/objects.py/_get_indentation