def get_valid_archs():
 archs = []
 try:
  for breed in get_valid_breeds():
   for operating_system in SIGNATURE_CACHE['breeds'][breed].keys():
    archs += SIGNATURE_CACHE['breeds'][breed][operating_system]['supported_arches']
 except:
  pass
 return uniquify(archs)

def get_valid_archs ( ) : archs = [ ] try : for breed in get_valid_breeds ( ) : for operating_system in SIGNATURE_CACHE [ 'breeds' ] [ breed ] . keys ( ) : archs += SIGNATURE_CACHE [ 'breeds' ] [ breed ] [ operating_system ] [ 'supported_arches' ] except : pass return uniquify ( archs )
return a list of valid architectures found in the import signatures .