config: Pass context to Config constructor

Will be used later on to retrieve kas_work_dir.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
Jan Kiszka
2021-08-18 15:36:49 +02:00
parent 4f23045ce8
commit eeab1bc9bc
5 changed files with 5 additions and 5 deletions

View File

@@ -35,7 +35,7 @@ class Config:
"""
Implements the kas configuration based on config files.
"""
def __init__(self, filename, target=None, task=None):
def __init__(self, ctx, filename, target=None, task=None):
self._override_target = target
self._override_task = task
self._config = {}