diff MoinMoin/formatter/text_docbook.py @ 1793:2a4caa295346

Eclipse PyDev Check: fixed lots of its errors and warnings
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Fri, 23 Feb 2007 13:06:42 +0100
parents 6dd2e29acffe
children 57f12932915f
line wrap: on
line diff
--- a/MoinMoin/formatter/text_docbook.py	Fri Feb 23 09:38:23 2007 +0100
+++ b/MoinMoin/formatter/text_docbook.py	Fri Feb 23 13:06:42 2007 +0100
@@ -157,7 +157,7 @@
             if depth <= self.curdepth:
                 # number of levels we want to go higher
                 numberOfLevels = self.curdepth-depth + 1
-                for i in range(numberOfLevels):
+                for dummy in range(numberOfLevels):
                     #find first non section node
                     while (self.cur.nodeName != "section" and self.cur.nodeName != "article"):
                         self.cur = self.cur.parentNode