File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -373,7 +373,7 @@ async def start(self):
373373 if self .state_ispending ():
374374 self .log .debug ('Job ' + self .job_id + ' still pending' )
375375 else :
376- self .log .warn ('Job ' + self .job_id + ' neither pending nor running.\n ' +
376+ self .log .warning ('Job ' + self .job_id + ' neither pending nor running.\n ' +
377377 self .job_status )
378378 raise RuntimeError ('The Jupyter batch job has disappeared'
379379 ' while pending in the queue or died immediately'
@@ -415,7 +415,7 @@ async def stop(self, now=False):
415415 return
416416 await gen .sleep (1.0 )
417417 if self .job_id :
418- self .log .warn ("Notebook server job {0} at {1}:{2} possibly failed to terminate" .format (
418+ self .log .warning ("Notebook server job {0} at {1}:{2} possibly failed to terminate" .format (
419419 self .job_id , self .ip , self .port )
420420 )
421421
You can’t perform that action at this time.
0 commit comments