config: Remove context field
No longer used. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
committed by
Daniel Wagner
parent
4acde53b94
commit
52fdc4f4ae
@@ -40,19 +40,12 @@ class Config:
|
||||
self.filename = os.path.abspath(filename)
|
||||
self.handler = IncludeHandler(self.filename)
|
||||
self.repo_dict = self._get_repo_dict()
|
||||
self.context = None
|
||||
|
||||
if target:
|
||||
self._config['target'] = target
|
||||
if task:
|
||||
self._config['task'] = task
|
||||
|
||||
def set_context(self, ctx):
|
||||
"""
|
||||
Set a reference to the ctx that includes this config
|
||||
"""
|
||||
self.context = ctx
|
||||
|
||||
def find_missing_repos(self):
|
||||
"""
|
||||
Returns repos that are in config but not on disk
|
||||
|
Reference in New Issue
Block a user