Rename utilities dir

This commit is contained in:
allegroai 2020-04-28 10:43:47 +03:00
parent 6746144803
commit 7dc27b9a5e
4 changed files with 3 additions and 3 deletions

View File

@ -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')

View File

@ -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