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 16, 2018
1 parent e110859 commit dc7eb82
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 @@ -135,7 +135,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 dc7eb82

Please sign in to comment.