diff --git a/docker/CMSRucioClient/scripts/CMSRSE.py b/docker/CMSRucioClient/scripts/CMSRSE.py index 624f383e..4966479e 100644 --- a/docker/CMSRucioClient/scripts/CMSRSE.py +++ b/docker/CMSRucioClient/scripts/CMSRSE.py @@ -69,12 +69,12 @@ def __init__(self, json, dry=False, cms_type='real', deterministic=True): self.rse_name = json['rse']+"_Temp" else: self.rse_name = json['rse'] + if json.get('loadtest', None) is not None: + self.attrs['loadtest'] = json['loadtest'] self._get_attributes() self.attrs['fts'] = ','.join(json['fts']) - if json.get('loadtest', None) is not None: - self.attrs['loadtest'] = json['loadtest'] """ Parses either a prefix or a pfn within a rule in the storage.json @@ -335,7 +335,7 @@ def _get_protocol(self, proto_json, protos_json): if proto_json.get('prefix', None): """ - The simple case where all we have is a prefix. This just triggers the identity algorithm + The simple case where all we have is a prefix. This just triggers the identity algorithm with some simple settings """ @@ -369,7 +369,7 @@ def _get_protocol(self, proto_json, protos_json): 'impl': IMPL_MAP[protocol_name] } elif proto_json.get('rules', None): - """ + """ Instead we have a full set of TFC rules which we need to gather """ chains = {protocol_name}