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]