Commit 36a467613648cdb0adba793a40c3f7fbb8ffbbff

Werner Lemberg 2014-12-22T03:31:32

Remove C-isms in Python code.

diff --git a/src/tools/docmaker/formatter.py b/src/tools/docmaker/formatter.py
index b1c88be..7152c01 100644
--- a/src/tools/docmaker/formatter.py
+++ b/src/tools/docmaker/formatter.py
@@ -196,7 +196,7 @@ class  Formatter:
                 skip_entry = 1   # this happens e.g. for `/empty/' entries
 
             if skip_entry:
-              continue;
+              continue
 
             self.block_enter( block )
 
diff --git a/src/tools/docmaker/tohtml.py b/src/tools/docmaker/tohtml.py
index 9b2f291..05fc08a 100644
--- a/src/tools/docmaker/tohtml.py
+++ b/src/tools/docmaker/tohtml.py
@@ -628,7 +628,7 @@ class  HtmlFormatter( Formatter ):
             for f in self.headers.keys():
                 if block.source.filename.find( f ) >= 0:
                     header = self.headers[f] + ' (' + f + ')'
-                    break;
+                    break
 
 #           if not header:
 #               sys.stderr.write(