chg: [galaxies] ignore deprecated galaxies

pull/15/head
Christophe Vandeplas 2019-03-16 21:20:59 +01:00
parent bdb83264d6
commit 7392c13a72
1 changed files with 3 additions and 0 deletions

View File

@ -443,6 +443,9 @@ def galaxy_update_local_copy(force=False):
for cluster in galaxy['values']:
if 'uuid' not in cluster:
continue
# skip deprecated galaxies/clusters
if galaxy_main['namespace'] == 'deprecated':
continue
# keep track of the cluster, but also enhance it to look like the cluster we receive when accessing the web.
cluster_uuids[cluster['uuid']] = cluster
cluster_uuids[cluster['uuid']]['type'] = galaxy['type']