diff doc/check-seclevel.py @ 40292:9c6473d2038b

help: splitting the topics by category Differential Revision: https://phab.mercurial-scm.org/D5066
author Rodrigo Damazio <rdamazio@google.com>
date Fri, 12 Oct 2018 17:57:36 +0200
parents e9f456183402
children 77763dc5b07b
line wrap: on
line diff
--- a/doc/check-seclevel.py	Sat Oct 13 05:03:50 2018 -0700
+++ b/doc/check-seclevel.py	Fri Oct 12 17:57:36 2018 +0200
@@ -87,7 +87,8 @@
 
 def checkhghelps(ui):
     errorcnt = 0
-    for names, sec, doc in helptable:
+    for h in helptable:
+        names, sec, doc = h[0:3]
         if callable(doc):
             doc = doc(ui)
         errorcnt += checkseclevel(ui, doc,