diff Lib/dos-8x3/cgihttps.py @ 6986:638d877ea995 legacy-trunk

the usual
author Guido van Rossum <guido@python.org>
date Tue, 30 Dec 1997 04:20:58 +0000
parents 1bddba2f100e
children c31257b92447
line wrap: on
line diff
--- a/Lib/dos-8x3/cgihttps.py	Tue Dec 30 04:07:19 1997 +0000
+++ b/Lib/dos-8x3/cgihttps.py	Tue Dec 30 04:20:58 1997 +0000
@@ -148,8 +148,7 @@
 	    if ua:
 		env['HTTP_USER_AGENT'] = ua
 	    # XXX Other HTTP_* headers
-	    import regsub
-	    decoded_query = regsub.gsub('+', ' ', query)
+	    decoded_query = string.replace(query, '+', ' ')
 	    try:
 		os.setuid(nobody)
 	    except os.error: