исправил ошибку двойного запуска команды
This commit is contained in:
parent
50aad47cf6
commit
5ff2eb8a84
|
|
@ -16,8 +16,8 @@ class StepsRunner:
|
||||||
continue
|
continue
|
||||||
if stripped.startswith("#"):
|
if stripped.startswith("#"):
|
||||||
continue
|
continue
|
||||||
|
else:
|
||||||
self.processLine(stripped)
|
self.processLine(stripped)
|
||||||
|
|
||||||
def processLine(self, line):
|
def processLine(self, line):
|
||||||
if self.shCommandBuilder.isShCommand(line):
|
if self.shCommandBuilder.isShCommand(line):
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,8 @@ class BuildConfigProvider:
|
||||||
configs = []
|
configs = []
|
||||||
for l in leafs:
|
for l in leafs:
|
||||||
config = self.fetchConfigFromLeafWrapper(l)
|
config = self.fetchConfigFromLeafWrapper(l)
|
||||||
configs.append(config)
|
if config.get('build_ready', 'false') == 'true':
|
||||||
|
configs.append(config)
|
||||||
|
|
||||||
return configs
|
return configs
|
||||||
|
|
||||||
|
|
@ -32,7 +33,11 @@ class BuildConfigProvider:
|
||||||
|
|
||||||
unionConf = {}
|
unionConf = {}
|
||||||
for a in ancestors:
|
for a in ancestors:
|
||||||
unionConf.update(a['dict'])
|
dictionary = a['dict']
|
||||||
|
for k in dictionary:
|
||||||
|
value = dictionary[k]
|
||||||
|
if type(value) is str:
|
||||||
|
unionConf[k] = value
|
||||||
|
|
||||||
return unionConf
|
return unionConf
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue