queue: missing f format for the error message.

This commit is contained in:
Gao
2022-07-28 21:15:51 +08:00
parent 75745a70b4
commit 737d7cda4b
+1 -1
View File
@@ -281,7 +281,7 @@ class LocalCeleryQueue(BaseStashQueue):
return _load_collected(entry.stash_rev)
except FileNotFoundError:
pass
raise DvcException("Invalid experiment '{entry.stash_rev[:7]}'.")
raise DvcException(f"Invalid experiment '{entry.stash_rev[:7]}'.")
def kill(self, revs: Collection[str]) -> None:
to_kill: Set[QueueEntry] = set()