def _zip_links(links, linked_paths):
 if (len(links) != len(linked_paths)):
  raise ValueError(u'Expected to receive resolved Paths per Link. Got: {} and {}'.format(links, linked_paths))
 return tuple((Path(link.path, dest.dependencies[0].stat) for (link, dest) in zip(links, linked_paths) if (len(dest.dependencies) > 0)))

def _zip_links ( links , linked_paths ) : if ( len ( links ) != len ( linked_paths ) ) : raise ValueError ( u'Expected to receive resolved Paths per Link. Got: {} and {}' . format ( links , linked_paths ) ) return tuple ( ( Path ( link . path , dest . dependencies [ 0 ] . stat ) for ( link , dest ) in zip ( links , linked_paths ) if ( len ( dest . dependencies ) > 0 ) ) )
given a set of paths and a resolved collection per link in the paths .