summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Gasch <[email protected]>2021-10-06 17:11:52 -0700
committerScott Gasch <[email protected]>2021-10-06 17:11:52 -0700
commita5c4feeac240a446a38147130b51ad96a046f6e1 (patch)
tree79944d91d6f88eb3b4d4f212f177c2e47a63422a
parentaad84a3abe06d127918d09f2ad3b8f4264a9d02b (diff)
Starting to move towards python3.9
-rw-r--r--bootstrap.py2
-rw-r--r--executors.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap.py b/bootstrap.py
index 045411a..03bb505 100644
--- a/bootstrap.py
+++ b/bootstrap.py
@@ -87,7 +87,7 @@ def handle_uncaught_exception(exc_type, exc_value, exc_tb):
original_hook(exc_type, exc_value, exc_tb)
-class ImportInterceptor(importlib.abc.MetaPathFinder):
+class ImportInterceptor(object):
def __init__(self):
import collect.trie
self.module_by_filename_cache = {}
diff --git a/executors.py b/executors.py
index b243edd..ddd62f1 100644
--- a/executors.py
+++ b/executors.py
@@ -610,7 +610,7 @@ class RemoteExecutor(BaseExecutor):
# Do it.
cmd = (f'{SSH} {bundle.username}@{bundle.machine} '
- f'"source remote-execution/bin/activate &&'
+ f'"source py39-venv/bin/activate &&'
f' /home/scott/lib/python_modules/remote_worker.py'
f' --code_file {bundle.code_file} --result_file {bundle.result_file}"')
p = cmd_in_background(cmd, silent=True)