def descendant_addresses_to_globs(address_mapper, descendant_addresses):
 pattern = address_mapper.build_pattern
 return PathGlobs.create_from_specs(descendant_addresses.directory, [pattern, join(u'**', pattern)])

def descendant_addresses_to_globs ( address_mapper , descendant_addresses ) : pattern = address_mapper . build_pattern return PathGlobs . create_from_specs ( descendant_addresses . directory , [ pattern , join ( u'**' , pattern ) ] )
given a descendantaddresses object .