Skip to content

Commit

Permalink
autopep8 action fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mesmith75 authored Jun 1, 2024
1 parent e0cbeea commit 1bc47d6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ganga/GangaDirac/Lib/Backends/DiracBase.py
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,6 @@ async def finalise_failed_job(job):
)
except Exception as err:
raise GangaDiracError(str(err))


@staticmethod
async def complete_dirac_job(job):
Expand Down Expand Up @@ -1327,7 +1326,7 @@ async def job_finalisation(job, updated_dirac_status):
job.been_queued = True
task = monitoring_component.loop.create_task(
DiracBase._internal_job_finalisation(job, updated_dirac_status))

try:
await task
except GangaDiracError as err:
Expand Down Expand Up @@ -1355,7 +1354,7 @@ async def job_finalisation(job, updated_dirac_status):
logger.error("Unable to finalise job %s after %s retries due to error:\n%s" %
(job.getFQID('.'), str(count), str(err)))
job.force_status('failed')
raise
raise

time.sleep(sleep_length)

Expand Down

0 comments on commit 1bc47d6

Please sign in to comment.