eric6/Utilities/ModuleParser.py

changeset 8099
522946e53835
parent 8087
db518728761c
child 8131
f2129bb79269
diff -r 36d5f6786a9f -r 522946e53835 eric6/Utilities/ModuleParser.py
--- a/eric6/Utilities/ModuleParser.py	Fri Feb 12 19:16:59 2021 +0100
+++ b/eric6/Utilities/ModuleParser.py	Fri Feb 12 19:23:28 2021 +0100
@@ -741,8 +741,12 @@
                 if conditionalsstack:
                     if thisindent > conditionalsstack[-1]:
                         if not deltaindentcalculated:
-                            deltastack.append(thisindent - conditionalsstack[-1])
-                            deltaindent = reduce(lambda x, y: x + y, deltastack)
+                            deltastack.append(
+                                thisindent - conditionalsstack[-1]
+                            )
+                            deltaindent = reduce(
+                                lambda x, y: x + y, deltastack
+                            )
                             deltaindentcalculated = True
                         thisindent -= deltaindent
                     else:

eric ide

mercurial