def BuildClonePostBody(file_tuples):
  file_list = []
  for tup in file_tuples:
    path = tup[0]
    tup = tup[1:]
    file_list.append(TUPLE_DELIMITER.join([path] + list(tup)))
  return LIST_DELIMITER.join(file_list)
Test flattening nested list
dataset/ETHPy150Open CollabQ/CollabQ/.google_appengine/google/appengine/tools/appcfg.py/BuildClonePostBody--crossover with--dataset/ETHPy150Open duerrp/pyexperiment/tests/test_functional.py/TestFlatten.test_flatten_nested_list