Skip to content

Commit

Permalink
Correct unresolved reference 'true' and 'false'
Browse files Browse the repository at this point in the history
Correct unresolved references, set boolean value
to True/False instead of true/false.

Change-Id: I7bf54c32fda7a9da862f93a491ceca1d3743e964
  • Loading branch information
huangtianhua committed Jan 7, 2015
1 parent f35e89b commit 4da7ae6
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -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')
Expand All @@ -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'
Expand Down

0 comments on commit 4da7ae6

Please sign in to comment.