Skip to content

Commit 02262c8

Browse files
committed
removed not used variable
1 parent c103c5c commit 02262c8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bootstrap/bootstrap.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def main():
4949
line_regex = re.compile('^(.*?):(\\d+?):\\s(.*)$')
5050

5151
if 0 == len(ansible_lint_output):
52-
testcase = ET.SubElement(testsuite, "testcase", name="dummy_testcase.py")
52+
ET.SubElement(testsuite, "testcase", name="dummy_testcase.py")
5353
else:
5454
parsed_lines = []
5555
for line in ansible_lint_output:
@@ -64,7 +64,9 @@ def main():
6464
"text": line_match.group(3),
6565
}
6666
parsed_lines.append(line_data)
67+
6768
testcase = ET.SubElement(testsuite, "testcase", name=line_data['filename'])
69+
6870
ET.SubElement(
6971
testcase,
7072
"failure",

0 commit comments

Comments
 (0)