def print_indented_caselist(string_before, caselist):
    """Print routine for debugging."""
    string = string_before + '\nCaselist(\n'
    string2 = ''
    for case in caselist:
        string2 += ' ' * 3 + str(case) + ',\n'
    if string2:
        string += string2[:-2] + '\n)'
    else:
        string += ')'
    print(string)
