File tree 4 files changed +4
-4
lines changed
imagefactory_plugins/Docker
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ class Application(Singleton):
122
122
for builder_id in builder_dict :
123
123
# If the build or push worker thread has already exited we do nothing
124
124
# builder classes should always cleanup before exiting the thread-starting methods
125
- if builder_dict [builder_id ].builder_thread and builder_dict [builder_id ].builder_thread .isAlive ():
125
+ if builder_dict [builder_id ].builder_thread and builder_dict [builder_id ].builder_thread .is_alive ():
126
126
try :
127
127
logging .debug ("Executing abort method for builder id (%s)" % (builder_id ))
128
128
builder_dict [builder_id ].abort ()
Original file line number Diff line number Diff line change @@ -366,7 +366,7 @@ def _run_guestmount(g):
366
366
self .log .error ("WARNING: Could not unmount guest at (%s) - may still be mounted" % (tempdir ) )
367
367
if fuse_thread :
368
368
fuse_thread .join (30.0 )
369
- if fuse_thread .isAlive ():
369
+ if fuse_thread .is_alive ():
370
370
self .log .error ("Guestfs local mount thread is still active - FUSE filesystem still mounted at (%s)" % (tempdir ) )
371
371
372
372
if wrap_metadata :
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ class Application(Singleton):
94
94
for builder_id in builder_dict :
95
95
# If the build or push worker thread has already exited we do nothing
96
96
# builder classes should always cleanup before exiting the thread-starting methods
97
- if builder_dict [builder_id ].builder_thread and builder_dict [builder_id ].builder_thread .isAlive ():
97
+ if builder_dict [builder_id ].builder_thread and builder_dict [builder_id ].builder_thread .is_alive ():
98
98
try :
99
99
logging .debug ("Executing abort method for builder id (%s)" % (builder_id ))
100
100
builder_dict [builder_id ].abort ()
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ def testJobQueue(self):
140
140
for job in job_threads :
141
141
job .start ()
142
142
for job in job_threads :
143
- if job .isAlive ():
143
+ if job .is_alive ():
144
144
job .join ()
145
145
#self.log.info(job_output)
146
146
self .assertEqual ((3 * job_number * len (ReservationManager ().queues )), len (job_output ))
You can’t perform that action at this time.
0 commit comments