Skip to content

Commit 7d80ff2

Browse files
committed
Fix bug
1 parent a29ce52 commit 7d80ff2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

planemo/galaxy/activity.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,7 @@ def _wait_for_invocation(ctx, gi, invocation_id, polling_backoff=0):
828828
def state_func():
829829
return _retry_on_timeouts(ctx, gi, lambda gi: gi.invocations.show_invocation(invocation_id))
830830

831-
return _wait_on_state(ctx, state_func, polling_backoff)
831+
return _wait_on_state(state_func, polling_backoff)
832832

833833

834834
def _retry_on_timeouts(ctx, gi, f):
@@ -866,7 +866,7 @@ def _wait_for_history(ctx, gi, history_id, polling_backoff=0):
866866
def state_func():
867867
return _retry_on_timeouts(ctx, gi, lambda gi: gi.histories.show_history(history_id))
868868

869-
return _wait_on_state(ctx, state_func, polling_backoff)
869+
return _wait_on_state(state_func, polling_backoff)
870870

871871

872872
def _wait_for_invocation_jobs(ctx, gi, invocation_id, polling_backoff=0, early_termination=True):

0 commit comments

Comments
 (0)