diff roundup/anypy/vendored/cgi.py @ 8308:185335b2301b

build: issue2551399 - CI is failing with flake8 syntax error F824 Removed global declaration when only reading, not writing module/global variable in block scope.
author John Rouillard <rouilj@ieee.org>
date Sun, 11 May 2025 16:53:22 -0400
parents 978285986b2c
children fed0f839c260
line wrap: on
line diff
--- a/roundup/anypy/vendored/cgi.py	Sun May 11 16:41:19 2025 -0400
+++ b/roundup/anypy/vendored/cgi.py	Sun May 11 16:53:22 2025 -0400
@@ -82,7 +82,7 @@
     send an error message).
 
     """
-    global log, logfile, logfp
+    global log, logfp
     warnings.warn("cgi.log() is deprecated as of 3.10. Use logging instead",
                   DeprecationWarning, stacklevel=2)
     if logfile and not logfp:

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