[Piglit] [PATCH v2 3/8] html: Remove the index_groupgroup template.

Dylan Baker baker.dylan.c at gmail.com
Tue Apr 30 10:34:39 PDT 2013


From: Kenneth Graunke <kenneth at whitecape.org>

It was entirely empty.

Reviewed-by: Dylan Baker <baker.dylan.c at gmail.com>
---
 piglit-summary-html.py          | 5 +----
 templates/index_groupgroup.html | 1 -
 2 files changed, 1 insertion(+), 5 deletions(-)
 delete mode 100644 templates/index_groupgroup.html

diff --git a/piglit-summary-html.py b/piglit-summary-html.py
index 263a4f0..d2fe5ee 100755
--- a/piglit-summary-html.py
+++ b/piglit-summary-html.py
@@ -67,7 +67,6 @@ IndexTestrunB = readfile(os.path.join(templatedir, 'index_testrunb.html'))
 IndexTestrunBHref = readfile(os.path.join(templatedir, 'index_testrunb_href.html'))
 IndexGroup = readfile(os.path.join(templatedir, 'index_group.html'))
 IndexGroupTestrun = readfile(os.path.join(templatedir, 'index_group_testrun.html'))
-IndexGroupGroup = readfile(os.path.join(templatedir, 'index_groupgroup.html'))
 IndexTest = readfile(os.path.join(templatedir, 'index_test.html'))
 IndexTestTestrun = readfile(os.path.join(templatedir, 'index_test_testrun.html'))
 
@@ -205,9 +204,7 @@ def buildGroupSummary(indent, groupsummary, showcurrent):
 	for n in names:
 		child = groupsummary.children[n]
 		if isinstance(child, framework.summary.GroupSummary):
-			items = items + IndexGroupGroup % {
-				'group': buildGroupSummary(indent + indent_inc, child, showcurrent)
-			}
+			items = items + buildGroupSummary(indent + indent_inc, child, showcurrent)
 		else:
 			items = items + buildTestSummary(indent + indent_inc, child)
 
diff --git a/templates/index_groupgroup.html b/templates/index_groupgroup.html
deleted file mode 100644
index 53db607..0000000
--- a/templates/index_groupgroup.html
+++ /dev/null
@@ -1 +0,0 @@
-%(group)s
-- 
1.8.1.4



More information about the Piglit mailing list