mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-01 23:08:43 +01:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
committed by
Ruslan Kuprieiev
parent
2b0c365f35
commit
6dccfcb3f9
@@ -337,9 +337,7 @@ class LocalCeleryQueue(BaseStashQueue):
|
||||
remained_entries[entry],
|
||||
)
|
||||
backend = self.celery.backend
|
||||
backend.mark_as_failure( # type: ignore[attr-defined]
|
||||
task_id, None
|
||||
)
|
||||
backend.mark_as_failure(task_id, None) # type: ignore[attr-defined]
|
||||
|
||||
if remained_revs:
|
||||
raise CannotKillTasksError(remained_revs)
|
||||
|
||||
Reference in New Issue
Block a user