mirror of
https://github.com/boostorg/histogram.git
synced 2026-01-19 04:12:12 +00:00
fix for update feature [ci skip]
This commit is contained in:
@@ -79,7 +79,7 @@ def on_key_press(event):
|
||||
global thread
|
||||
if thread and thread.is_alive(): return
|
||||
|
||||
if event.key != "r": return
|
||||
if event.key != "u": return
|
||||
|
||||
hash = commits[current_index]
|
||||
|
||||
|
||||
@@ -52,7 +52,6 @@ def run(results, comments, hash, update):
|
||||
if not update and hash in results:
|
||||
return
|
||||
print(hash, comments[hash])
|
||||
results[hash] = None
|
||||
subp.call(("rm", "-rf", "../include"))
|
||||
if subp.call(("git", "checkout", hash, "--", "../include")) != 0:
|
||||
print("[Benchmark] Cannot checkout include folder\n")
|
||||
|
||||
Reference in New Issue
Block a user