aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--project/toolset.py3
-rw-r--r--project/version.py2
2 files changed, 2 insertions, 3 deletions
diff --git a/project/toolset.py b/project/toolset.py
index 001eefb..35d5192 100644
--- a/project/toolset.py
+++ b/project/toolset.py
@@ -308,9 +308,8 @@ a list of all supported toolset versions:
class Toolset(abc.ABC):
- @staticmethod
@contextmanager
- def b2_args():
+ def b2_args(self):
# Write the config file, etc.
yield []
diff --git a/project/version.py b/project/version.py
index 8cff333..a2bdd57 100644
--- a/project/version.py
+++ b/project/version.py
@@ -1,5 +1,5 @@
try:
- import importlib.metadata as metadata
+ from importlib import metadata
except ImportError:
import importlib_metadata as metadata