Skip to content

Commit

Permalink
[FAB-6056] Fix typo in variable name
Browse files Browse the repository at this point in the history
Change namepart to namePart

Change-Id: I2f4706806bb12da797b64b0d20d717947c16973c
Signed-off-by: Boliang Chen <cblsjtu@gmail.com>
  • Loading branch information
cblsjtu committed Sep 13, 2017
1 parent 4b9de5c commit d28a61e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bddtests/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def after_scenario(context, scenario):
with open(fileName, "w+") as logfile:
sys_rc = subprocess.call(["docker", "logs", containerName], stdout=logfile, stderr=logfile)
if sys_rc !=0 :
print("Cannot get logs for {0}. Docker rc = {1}".format(namepart,sys_rc))
print("Cannot get logs for {0}. Docker rc = {1}".format(namePart, sys_rc))
if 'doNotDecompose' in scenario.tags:
if 'compose_yaml' in context:
print("Not going to decompose after scenario {0}, with yaml '{1}'".format(scenario.name, context.compose_yaml))
Expand Down

0 comments on commit d28a61e

Please sign in to comment.