diff --git a/zstash/globus.py b/zstash/globus.py index 2a95cef7..5a82cb10 100644 --- a/zstash/globus.py +++ b/zstash/globus.py @@ -73,7 +73,9 @@ def globus_activate(hpss: str): # FQDN is not set on Perlmutter at NERSC if not local_endpoint: nersc_hostname = os.environ.get("NERSC_HOST") - if nersc_hostname and (nersc_hostname == "Perlmutter" or nersc_hostname == "unknown"): + if nersc_hostname and ( + nersc_hostname == "Perlmutter" or nersc_hostname == "unknown" + ): local_endpoint = regex_endpoint_map.get(r"perlmutter.*\.nersc\.gov") if not local_endpoint: logger.error(