def sorted_files(path):
    'Return a (sorted) list of files under path\n    '
    return sorted(sum([[op.join(r, f)[(len(path) + 1):] for f in files] for (r, d, files) in os.walk(path) if (not ('.git' in r))], []))
Return a (sorted) list of files under path
def sorted_files(path):
    '\n    '
    return sorted(sum([[op.join(r, f)[(len(path) + 1):] for f in files] for (r, d, files) in os.walk(path) if (not ('.git' in r))], []))