From dd80a6b1fc8343501584f717bb841ca2b91c09bb Mon Sep 17 00:00:00 2001 From: Jeremiah Leary Date: Fri, 1 May 2020 18:22:12 -0500 Subject: [PATCH] Updates for issue #381: The rule_list was not using the _get_solution() method on the rule class to get the solution when generating JUnit files. --- vsg/rule_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vsg/rule_list.py b/vsg/rule_list.py index fad15c9f..9abe6a7c 100644 --- a/vsg/rule_list.py +++ b/vsg/rule_list.py @@ -236,7 +236,7 @@ class rule_list(): for oRule in self.rules: if len(oRule.violations) > 0: for iLinenumber in oRule.violations: - oFailure.add_text(oRule.name + '_' + oRule.identifier + ': ' + str(iLinenumber) + ' : ' + oRule.solution) + oFailure.add_text(oRule.name + '_' + oRule.identifier + ': ' + str(iLinenumber) + ' : ' + oRule._get_solution(iLinenumber)) oTestcase.add_failure(oFailure) return oTestcase