diff --git a/docker/CMSRucioClient/scripts/cmslinks.py b/docker/CMSRucioClient/scripts/cmslinks.py index a4299451..b1b30f7a 100755 --- a/docker/CMSRucioClient/scripts/cmslinks.py +++ b/docker/CMSRucioClient/scripts/cmslinks.py @@ -76,17 +76,14 @@ def _get_rselist(self, rselist=None): pnn = site.get('site') break - try: - self.rselist.append({ - 'rse': rse, - 'pnn': pnn, - 'type': attrs['cms_type'], - 'country': attrs['country'], - 'region': attrs.get('region', None) - }) - except KeyError: - logging.warning('No expected attributes for RSE %s. Skipping', - rse) + self.rselist.append({ + 'rse': rse, + 'pnn': pnn, + 'type': attrs.get('cms_type'), + 'country': attrs.get('country'), + 'region': attrs.get('region', None) + }) + def _get_matrix(self, distance, exclude):