def _pad_name(name, pad_num=13, quotes=True):
    """ Pads a string so that they all line up when stacked."""
    l_name = len(name)
    if pad_num < l_name:
        pad = pad_num - l_name
        if quotes:
            pad_str = "'{name}'{sep:<{pad}}"
        else:
            pad_str = "{name}{sep:<{pad}}"
        pad_name = pad_str.format(name=name, sep='', pad=pad)
        return pad_name
    else:
        return '{0}'.format(name)
dataset/ETHPy150Open OpenMDAO/OpenMDAO/openmdao/core/problem.py/_pad_name/swapped operands of `<`