Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions src/local_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,8 @@
from .raise_error import RaiseError
from .helpers import Helpers

try:
from shutil import which as find_executable
from shutil import rmtree
except ImportError:
from distutils.spawn import find_executable
from distutils import rmtree
from shutil import which as find_executable
from shutil import rmtree

CMD_TIMEOUT_SEC = 60

Expand Down