Skip to content

Commit b380df2

Browse files
authored
submit history, fix when updating cache, fix duplicates (#298)
Fix #297
1 parent f030c2b commit b380df2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

sisyphus/engine.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ def get_submit_history(self, task):
6666
current_mtime = os.path.getmtime(submit_log)
6767
if not last_update or last_update != current_mtime:
6868
with open(submit_log) as submit_file:
69+
id_to_rqmt.clear()
6970
for line in submit_file:
7071
ids, r = literal_eval(line) # list of ids, submitted requirement for this id
7172
for i in ids:

0 commit comments

Comments
 (0)