Skip to content

Commit

Permalink
Watchdog/Python 3: dict.iteritems -> dict.items. Re nvaccess#9067.
Browse files Browse the repository at this point in the history
  • Loading branch information
josephsl committed Jun 4, 2019
1 parent bc505b1 commit 8916b78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/watchdog.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def _crashHandler(exceptionInfo):
log.critical("NVDA crashed! Minidump written to %s" % dumpPath)

# Log Python stacks for every thread.
for logThread, logFrame in sys._current_frames().iteritems():
for logThread, logFrame in sys._current_frames().items():
log.info("Python stack for thread %d" % logThread,
stack_info=traceback.extract_stack(logFrame))

Expand Down

0 comments on commit 8916b78

Please sign in to comment.