Utilities/ClassBrowsers/idlclbr.py

branch
Py2 comp.
changeset 3060
5883ce99ee12
parent 3058
0a02c433f52d
parent 3039
8dd0165d805d
child 3145
a9de05d4a22f
diff -r 0a02c433f52d -r 5883ce99ee12 Utilities/ClassBrowsers/idlclbr.py
--- a/Utilities/ClassBrowsers/idlclbr.py	Fri Nov 01 15:48:48 2013 +0100
+++ b/Utilities/ClassBrowsers/idlclbr.py	Sun Nov 03 15:58:22 2013 +0100
@@ -85,7 +85,7 @@
 |   (?P<End>
         [ \t]* } [ \t]* ;
     )
-""", re.VERBOSE | re.DOTALL | re.MULTILINE).search
+""", re.VERBOSE | re.DOTALL | re.MULTILINE).search      # __IGNORE_WARNING__
 
 # function to replace comments
 _commentsub = re.compile(r"""//[^\n]*\n|//[^\n]*$""").sub
@@ -240,7 +240,7 @@
             last_lineno_pos = start
             # close all interfaces/modules indented at least as much
             while classstack and \
-                  classstack[-1][1] >= thisindent:
+                    classstack[-1][1] >= thisindent:
                 if classstack[-1][0] is not None:
                     # record the end line
                     classstack[-1][0].setEndLine(lineno - 1)
@@ -289,7 +289,7 @@
             indent += 1
             # close all interfaces/modules indented at least as much
             while classstack and \
-                  classstack[-1][1] >= thisindent:
+                    classstack[-1][1] >= thisindent:
                 if classstack[-1][0] is not None:
                     # record the end line
                     classstack[-1][0].setEndLine(lineno - 1)
@@ -325,7 +325,7 @@
             indent += 1
             # close all interfaces/modules indented at least as much
             while classstack and \
-                  classstack[-1][1] >= thisindent:
+                    classstack[-1][1] >= thisindent:
                 if classstack[-1][0] is not None:
                     # record the end line
                     classstack[-1][0].setEndLine(lineno - 1)

eric ide

mercurial