Correct unresolved reference 'true' and 'false'

Correct unresolved references, set boolean value
to True/False instead of true/false.

Change-Id: I7bf54c32fda7a9da862f93a491ceca1d3743e964
This commit is contained in:
huangtianhua 2015-01-07 15:10:57 +08:00 committed by Thomas Herve
parent ae8e187772
commit bdd2446fa0
1 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ def invoke_hook(c, log):
# according to deploy_action
group = c.get('group')
if group == 'component':
found = false
found = False
action = iv.get('deploy_action')
config = c.get('config')
configs = config.get('configs')
@ -82,7 +82,7 @@ def invoke_hook(c, log):
if action in cfg['actions']:
c['config'] = cfg['config']
c['group'] = cfg['tool']
found = true
found = True
break
if not found:
log.warn('Skipping group %s, no valid script is defined'