Skip to content

Commit d28a61e

Browse files
committed
[FAB-6056] Fix typo in variable name
Change namepart to namePart Change-Id: I2f4706806bb12da797b64b0d20d717947c16973c Signed-off-by: Boliang Chen <cblsjtu@gmail.com>
1 parent 4b9de5c commit d28a61e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bddtests/environment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def after_scenario(context, scenario):
6363
with open(fileName, "w+") as logfile:
6464
sys_rc = subprocess.call(["docker", "logs", containerName], stdout=logfile, stderr=logfile)
6565
if sys_rc !=0 :
66-
print("Cannot get logs for {0}. Docker rc = {1}".format(namepart,sys_rc))
66+
print("Cannot get logs for {0}. Docker rc = {1}".format(namePart, sys_rc))
6767
if 'doNotDecompose' in scenario.tags:
6868
if 'compose_yaml' in context:
6969
print("Not going to decompose after scenario {0}, with yaml '{1}'".format(scenario.name, context.compose_yaml))

0 commit comments

Comments
 (0)