Skip to content

Commit

Permalink
return "None" when proxied dir is None in DB. Fix dmwm#8768"
Browse files Browse the repository at this point in the history
  • Loading branch information
belforte committed Nov 6, 2024
1 parent 483adb2 commit 6c4fa51
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/python/CRABInterface/RESTTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,8 @@ def webdirprx(self, **kwargs):
#extract /cms1425/taskname from the user webdir
suffix = re.search(r"(/[^/]+/[^/]+/?)$", row.user_webdir).group(0)
else:
raise ExecutionError("Webdir not set in the database. Cannot build proxied webdir")
yield "None"
return

#=============================================================================
# scheddObj is a dictionary composed like this (see the value of htcondorSchedds):
Expand Down

0 comments on commit 6c4fa51

Please sign in to comment.