[coreboot-gerrit] Change in coreboot[master]: util/optionlist: show location of a comment

Patrick Georgi (Code Review) gerrit at coreboot.org
Thu Jun 7 13:59:45 CEST 2018


Patrick Georgi has uploaded this change for review. ( https://review.coreboot.org/26945


Change subject: util/optionlist: show location of a comment
......................................................................

util/optionlist: show location of a comment

Change-Id: Ib417f435011f0331a1b0228734874ef0a62fb587
Signed-off-by: Patrick Georgi <pgeorgi at chromium.org>
---
M util/optionlist/kconfig2html
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/45/26945/1

diff --git a/util/optionlist/kconfig2html b/util/optionlist/kconfig2html
index defd35d..35386b1 100755
--- a/util/optionlist/kconfig2html
+++ b/util/optionlist/kconfig2html
@@ -79,7 +79,7 @@
 			helplen = len(i[:i.find(words[0])].expandtabs())
 		elif words[0] == "comment":
 			sys.stdout.write("<tr bgcolor=\"#eeeeee\">\n")
-			sys.stdout.write("<td></td><td></td><td>(comment)</td><td></td><td>%s</td></tr>\n" % htmlescape(zapquotes(words[1])))
+			sys.stdout.write("<td></td><td>%s</td><td>(comment)</td><td></td><td>%s</td></tr>\n" % (source, htmlescape(zapquotes(words[1]))))
 		elif words[0]=="menu":
 			if len(words)>1:
 				temp = htmlescape(zapquotes(words[1]))

-- 
To view, visit https://review.coreboot.org/26945
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib417f435011f0331a1b0228734874ef0a62fb587
Gerrit-Change-Number: 26945
Gerrit-PatchSet: 1
Gerrit-Owner: Patrick Georgi <pgeorgi at google.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180607/255c2af4/attachment-0001.html>


More information about the coreboot-gerrit mailing list