From af55919695ec7d63deb02cf597cea23fcd60d1be Mon Sep 17 00:00:00 2001 From: Mike Perez Date: Tue, 13 Feb 2018 16:26:52 -0800 Subject: [PATCH] Fix duplicate feature render bug Features were being rendered for every implementation that existed. This now properly renders features once and their implementation status. Co-Authored-by: Eric Fried Change-Id: I5f527c9efe893aaa3ca8c2de4739d883902ec46d --- sphinx_feature_classification/support_matrix.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sphinx_feature_classification/support_matrix.py b/sphinx_feature_classification/support_matrix.py index 398e536..fe23ffa 100644 --- a/sphinx_feature_classification/support_matrix.py +++ b/sphinx_feature_classification/support_matrix.py @@ -121,9 +121,8 @@ class Matrix(object): if not option.startswith(DRIVER_PREFIX): continue - implementation = _process_implementation(section, option, - feature) - features.append(implementation) + _process_implementation(section, option, feature) + features.append(feature) return features