GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Update ExtractCallStack.py · Jatz/PeopleCodeTools@3bd52be

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • ExtractCallStack.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎ExtractCallStack.py‎

Copy file name to clipboardExpand all lines: ExtractCallStack.py
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def run(self, edit):
6161
lastCall = ''
6262
nestLevel = 0
6363

64-
# extContext will store a list of contexts to keep track of all the start-ext calls
64+
# extContext will store a list of contexts to keep track of all the start and start-ext calls
6565
extContext = []
6666

6767
# Perform initial formatting based on Nest value
@@ -96,6 +96,8 @@ def run(self, edit):
9696
extContext.pop()
9797
if match.group(1) == 'end':
9898
lastCall = 'end'
99+
# remove the last element from extContext
100+
extContext.pop()
99101
if match.group(1) == 'reend':
100102
lastCall = 'reend'
101103

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.