Utilities/ModuleParser.py

changeset 3539
0c2dc1446ebf
parent 3178
f25fc1364c88
child 3591
2f2a4a76dd22
diff -r 33a75660df08 -r 0c2dc1446ebf Utilities/ModuleParser.py
--- a/Utilities/ModuleParser.py	Sat Apr 26 10:06:49 2014 +0200
+++ b/Utilities/ModuleParser.py	Sat Apr 26 10:36:09 2014 +0200
@@ -564,7 +564,7 @@
                             deltastack.append(
                                 thisindent - conditionalsstack[-1])
                             deltaindent = reduce(
-                                lambda x, y:  x + y, deltastack)
+                                lambda x, y: x + y, deltastack)
                             deltaindentcalculated = 1
                         thisindent -= deltaindent
                     else:
@@ -664,7 +664,7 @@
                 while classstack and \
                         classstack[-1][1] >= thisindent:
                     if classstack[-1][0] is not None and \
-                       isinstance(classstack[-1][0], (Class,  Function)):
+                       isinstance(classstack[-1][0], (Class, Function)):
                         # record the end line of this class or function
                         classstack[-1][0].setEndLine(lineno - 1)
                     del classstack[-1]

eric ide

mercurial