mirror of
https://github.com/clearml/clearml
synced 2025-02-07 21:33:25 +00:00
Rename utilities dir
This commit is contained in:
parent
6746144803
commit
7dc27b9a5e
@ -1793,7 +1793,7 @@ class Task(_Task):
|
||||
if self._detect_repo_async_thread.is_alive():
|
||||
# if negative timeout, just kill the thread:
|
||||
if timeout is not None and timeout < 0:
|
||||
from .utilities.os.lowlevel import kill_thread
|
||||
from .utilities.lowlevel.threads import kill_thread
|
||||
kill_thread(self._detect_repo_async_thread)
|
||||
else:
|
||||
self.log.info('Waiting for repository detection and full package requirement analysis')
|
||||
@ -1803,7 +1803,7 @@ class Task(_Task):
|
||||
self.log.info('Repository and package analysis timed out ({} sec), '
|
||||
'giving up'.format(timeout))
|
||||
# done waiting, kill the thread
|
||||
from .utilities.os.lowlevel import kill_thread
|
||||
from .utilities.lowlevel.threads import kill_thread
|
||||
kill_thread(self._detect_repo_async_thread)
|
||||
else:
|
||||
self.log.info('Finished repository detection and package analysis')
|
||||
|
@ -39,7 +39,7 @@ class GenerateReqs(object):
|
||||
from ...version import __version__
|
||||
self._force_modules_reqs[our_module] = __version__
|
||||
|
||||
# make the entry point absolute (relative o the root path)
|
||||
# make the entry point absolute (relative to the root path)
|
||||
if entry_point_filename and not os.path.isabs(entry_point_filename):
|
||||
entry_point_filename = os.path.join(self._project_path, entry_point_filename) \
|
||||
if os.path.isdir(self._project_path) else None
|
||||
|
Loading…
Reference in New Issue
Block a user