File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,9 +25,9 @@ def go(self):
2525 while 1 :
2626 time .sleep (5 )
2727 try :
28- pid , sts = os .waitpid (- 1 , os .WNOHANG )
28+ pid = os .waitpid (- 1 , os .WNOHANG )[ 0 ]
2929 except OSError :
30- pid , sts = None , None
30+ pid = None
3131 if pid :
3232 break
3333
Original file line number Diff line number Diff line change @@ -1543,7 +1543,7 @@ def test_transition_backoff_to_starting_delay_in_future(self):
15431543 from supervisor import events
15441544 L = []
15451545 events .subscribe (events .ProcessStateEvent , lambda x : L .append (x ))
1546- from supervisor .states import ProcessStates , SupervisorStates
1546+ from supervisor .states import ProcessStates
15471547
15481548 future_time = time .time () + 3600 # 1 hour into the future
15491549 options = DummyOptions ()
You can’t perform that action at this time.
0 commit comments