File tree Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -217,14 +217,7 @@ def spawn(self, supervisor=None):
217217 return
218218 # if runningregex is used, set the log_offset correctly
219219 if self .config .runningregex is not None :
220- self ._set_log_offset_for_runningregex ()
221- try :
222- logfile = getattr (self .config , 'stdout_logfile' )
223- with open (logfile , 'rb' ) as f :
224- log_file_length = len (f .read ())
225- self .log_offset = log_file_length
226- except FileNotFoundError :
227- self .log_offset = 0
220+ self ._set_log_offset_for_runningregex ()
228221
229222 options = self .config .options
230223 processname = as_string (self .config .name )
Original file line number Diff line number Diff line change @@ -362,9 +362,9 @@ def _spawn_dependee_queue(self):
362362 break
363363 if all ([dependee .state is ProcessStates .RUNNING for dependee in
364364 process_object .config .depends_on .values ()]):
365- self ._spawn_process_from_process_dict ()
365+ self ._spawn_process_from_process_dict (process_name , process_object )
366366 else :
367- self ._spawn_process_from_process_dict ()
367+ self ._spawn_process_from_process_dict (process_name , process_object )
368368
369369 def _spawn_process_from_process_dict (self , process_name , process_object ):
370370 self .process_started_dict [process_name ] = process_object
You can’t perform that action at this time.
0 commit comments