Skip to content

Commit

Permalink
Remove RuntimeError in RucioFrontend (#719)
Browse files Browse the repository at this point in the history
* Add try except for rucio frontend

* remove runtime error in rucio

Co-authored-by: Joran Angevaare <jorana@nikhef.nl>
  • Loading branch information
ershockley and JoranAngevaare committed Nov 2, 2021
1 parent 16787ba commit b5b1e8f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions straxen/rucio.py
Expand Up @@ -64,12 +64,6 @@ def __init__(self,
f"I'm not sure what to do with that.")
local_rse = rse

# if there is no local host and we don't want to include the
# remote ones, we can't do anything
if local_rse is None and not include_remote:
raise RuntimeError(f"Could not find a local RSE for hostname {hostname}, "
f"and include_remote is False.")

self.local_rse = local_rse
self.include_remote = include_remote

Expand Down

0 comments on commit b5b1e8f

Please sign in to comment.