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):
373
373
if self .state_ispending ():
374
374
self .log .debug ('Job ' + self .job_id + ' still pending' )
375
375
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 ' +
377
377
self .job_status )
378
378
raise RuntimeError ('The Jupyter batch job has disappeared'
379
379
' while pending in the queue or died immediately'
@@ -415,7 +415,7 @@ async def stop(self, now=False):
415
415
return
416
416
await gen .sleep (1.0 )
417
417
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 (
419
419
self .job_id , self .ip , self .port )
420
420
)
421
421
You can’t perform that action at this time.
0 commit comments