Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PEP8 fixes for PR #2353 (mesmith75-patch-1) by autopep8 #2354

Merged
merged 2 commits into from
Jun 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions ganga/GangaDirac/Lib/Backends/DiracBase.py
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,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 @@ -1328,7 +1327,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 @@ -1356,7 +1355,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
Loading