chore: mark a function unreachable (#8553)
This commit is contained in:
parent
04952d58fa
commit
e71272fd2f
|
@ -646,6 +646,7 @@ def cancel_submission(submission):
|
||||||
|
|
||||||
|
|
||||||
def rename_submission_files(submission, prev_rev, new_rev):
|
def rename_submission_files(submission, prev_rev, new_rev):
|
||||||
|
log.unreachable("2025-2-19")
|
||||||
for ext in settings.IDSUBMIT_FILE_TYPES:
|
for ext in settings.IDSUBMIT_FILE_TYPES:
|
||||||
staging_path = Path(settings.IDSUBMIT_STAGING_PATH)
|
staging_path = Path(settings.IDSUBMIT_STAGING_PATH)
|
||||||
source = staging_path / f"{submission.name}-{prev_rev}.{ext}"
|
source = staging_path / f"{submission.name}-{prev_rev}.{ext}"
|
||||||
|
|
Loading…
Reference in a new issue