config: Fold ConfigStatic into Config
Now that we no longer have two different configuration variants, we can remove the abstract class and make Config the primary interface. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
committed by
Daniel Wagner
parent
9e136e532d
commit
bfd7770b81
@@ -26,7 +26,7 @@
|
||||
|
||||
import subprocess
|
||||
from kas.libkas import kasplugin
|
||||
from kas.config import load_config
|
||||
from kas.config import Config
|
||||
from kas.libcmds import (Macro, Command, SetupDir, SetupProxy, SetupEnviron,
|
||||
WriteConfig, SetupHome, ReposFetch, ReposCheckout)
|
||||
|
||||
@@ -73,7 +73,7 @@ class Shell:
|
||||
if args.cmd != 'shell':
|
||||
return False
|
||||
|
||||
cfg = load_config(args.config, args.target, None)
|
||||
cfg = Config(args.config, args.target)
|
||||
|
||||
macro = Macro()
|
||||
|
||||
|
Reference in New Issue
Block a user