diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/buildstream/_context.py | 6 | ||||
-rw-r--r-- | src/buildstream/_frontend/app.py | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/src/buildstream/_context.py b/src/buildstream/_context.py index 3f6e6ac3c..38b7b973f 100644 --- a/src/buildstream/_context.py +++ b/src/buildstream/_context.py @@ -49,12 +49,9 @@ from .sandbox import SandboxRemote # verbosity levels and basically anything pertaining to the context # in which BuildStream was invoked. # -# Args: -# directory (str): The directory that buildstream was invoked in -# class Context(): - def __init__(self, directory=None): + def __init__(self): # Filename indicating which configuration file was used, or None for the defaults self.config_origin = None @@ -166,7 +163,6 @@ class Context(): self._log_filename = None self._cascache = None self._casquota = None - self._directory = directory # load() # diff --git a/src/buildstream/_frontend/app.py b/src/buildstream/_frontend/app.py index a0b1d4cba..dafde153c 100644 --- a/src/buildstream/_frontend/app.py +++ b/src/buildstream/_frontend/app.py @@ -172,7 +172,7 @@ class App(): # Load the Context # try: - self.context = Context(directory) + self.context = Context() self.context.load(config) except BstError as e: self._error_exit(e, "Error loading user configuration") |