def ascendant_addresses_to_globs(address_mapper, ascendant_addresses):
 pattern = address_mapper.build_pattern
 patterns = [join(f, pattern) for f in _recursive_dirname(ascendant_addresses.directory)]
 return PathGlobs.create_from_specs(u'', patterns)

def ascendant_addresses_to_globs ( address_mapper , ascendant_addresses ) : pattern = address_mapper . build_pattern patterns = [ join ( f , pattern ) for f in _recursive_dirname ( ascendant_addresses . directory ) ] return PathGlobs . create_from_specs ( u'' , patterns )
given an ascendantaddresses object .