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:
@@ -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 = {}
|
||||
|
Reference in New Issue
Block a user