minor refactor
This commit is contained in:
parent
72d28de17b
commit
966dfbcfb8
@ -35,9 +35,11 @@ else:
|
|||||||
|
|
||||||
class Slate():
|
class Slate():
|
||||||
def __init__(self, runners):
|
def __init__(self, runners):
|
||||||
self.runners = runners
|
self.runners = {
|
||||||
self.runners['printConfig'] = Print_Config_Runner
|
'printConfig': Print_Config_Runner,
|
||||||
self.runners['pdb'] = PDB_Runner
|
'pdb': PDB_Runner,
|
||||||
|
}
|
||||||
|
self.runners.update(runners)
|
||||||
self._version = False
|
self._version = False
|
||||||
|
|
||||||
def load_config(self, filename, name):
|
def load_config(self, filename, name):
|
||||||
|
Loading…
Reference in New Issue
Block a user