diff doc/gendoc.py @ 10282:08a0f04b56bd

many, many trivial check-code fixups
author Matt Mackall <mpm@selenic.com>
date Mon, 25 Jan 2010 00:05:27 -0600
parents dd1a95ccbe07
children 40c06bbf58be
line wrap: on
line diff
--- a/doc/gendoc.py	Mon Jan 25 00:05:22 2010 -0600
+++ b/doc/gendoc.py	Mon Jan 25 00:05:27 2010 -0600
@@ -19,7 +19,7 @@
 
     i = docstr.find("\n")
     if i != -1:
-        desc = docstr[i+2:]
+        desc = docstr[i + 2:]
     else:
         desc = "    %s" % shortdesc
     return (shortdesc, desc)
@@ -76,7 +76,8 @@
     cmds.sort()
 
     for f in cmds:
-        if f.startswith("debug"): continue
+        if f.startswith("debug"):
+            continue
         d = get_cmd(h[f])
         # synopsis
         ui.write(".. _%s:\n\n" % d['cmd'])