forked from M-Labs/artiq
master/scheduler: Unbreak submitting from repository
This is a fix-up to commit 2a58981822
.
This commit is contained in:
parent
1c39ac8fb4
commit
fe32104185
@ -142,10 +142,10 @@ class RunPool:
|
|||||||
wd, repo_msg = self.experiment_db.repo_backend.request_rev(
|
wd, repo_msg = self.experiment_db.repo_backend.request_rev(
|
||||||
expid["repo_rev"])
|
expid["repo_rev"])
|
||||||
else:
|
else:
|
||||||
|
if "file" in expid:
|
||||||
|
expid["file"] = os.path.abspath(expid["file"])
|
||||||
wd, repo_msg = None, None
|
wd, repo_msg = None, None
|
||||||
|
|
||||||
if "file" in expid:
|
|
||||||
expid["file"] = os.path.abspath(expid["file"])
|
|
||||||
run = Run(rid, pipeline_name, wd, expid, priority, due_date, flush,
|
run = Run(rid, pipeline_name, wd, expid, priority, due_date, flush,
|
||||||
self, repo_msg=repo_msg)
|
self, repo_msg=repo_msg)
|
||||||
if self.log_submissions is not None:
|
if self.log_submissions is not None:
|
||||||
|
Loading…
Reference in New Issue
Block a user