def describe_file_set(modules):
 descriptor = FileSet()
 file_descriptors = []
 for module in modules:
  file_descriptors.append(describe_file(module))
 if file_descriptors:
  descriptor.files = file_descriptors
 return descriptor

def describe_file_set ( modules ) : descriptor = FileSet ( ) file_descriptors = [ ] for module in modules : file_descriptors . append ( describe_file ( module ) ) if file_descriptors : descriptor . files = file_descriptors return descriptor
build a file set from a specified python modules .