diff roundup/cgi/cgitb.py @ 7300:57f34b0b912c

flake8 fixes move import to top, indentation, remove trailing whitespace ...
author John Rouillard <rouilj@ieee.org>
date Sun, 07 May 2023 09:10:10 -0400
parents 3129d73e8535
children 6c5f8da9fca7
line wrap: on
line diff
--- a/roundup/cgi/cgitb.py	Thu May 04 20:57:38 2023 -0400
+++ b/roundup/cgi/cgitb.py	Sun May 07 09:10:10 2023 -0400
@@ -67,7 +67,7 @@
     from roundup.cgi.PageTemplates.Expressions import TraversalError
     t = inspect.trace(context)
     t.reverse()
-    for frame, file, lnum, func, lines, index in t:
+    for frame, _file, _lnum, _func, _lines, _index in t:
         args, varargs, varkw, locals = inspect.getargvalues(frame)
         if '__traceback_info__' in locals:
             ti = locals['__traceback_info__']

Roundup Issue Tracker: http://roundup-tracker.org/