Skip to content

Commit

Permalink
progress: raise error instead of recursive call which will fail
Browse files Browse the repository at this point in the history
  • Loading branch information
rkdarst committed Jul 19, 2019
1 parent 5cbeeda commit 2fe9542
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wrapspawner/wrapspawner.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def progress(self):
if self.child_spawner:
return self.child_spawner.progress
else:
return self.progress
raise RuntimeError("No child spawner yet exists - can not get progress yet")

class ProfilesSpawner(WrapSpawner):

Expand Down

0 comments on commit 2fe9542

Please sign in to comment.