[Python-checkins] r76213 - in python/branches/release26-maint: Lib/CGIHTTPServer.py

senthil.kumaran python-checkins at python.org
Wed Nov 11 18:24:53 CET 2009


Author: senthil.kumaran
Date: Wed Nov 11 18:24:53 2009
New Revision: 76213

Log:
Merged revisions 76212 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76212 | senthil.kumaran | 2009-11-11 22:52:35 +0530 (Wed, 11 Nov 2009) | 3 lines
  
  Fixing the NameError on Windows - issue1235
........


Modified:
   python/branches/release26-maint/   (props changed)
   python/branches/release26-maint/Lib/CGIHTTPServer.py

Modified: python/branches/release26-maint/Lib/CGIHTTPServer.py
==============================================================================
--- python/branches/release26-maint/Lib/CGIHTTPServer.py	(original)
+++ python/branches/release26-maint/Lib/CGIHTTPServer.py	Wed Nov 11 18:24:53 2009
@@ -275,11 +275,11 @@
                 nbytes = int(length)
             except (TypeError, ValueError):
                 nbytes = 0
-            files = subprocess.Popen(cmdline,
-                                    stdin = subprocess.PIPE,
-                                    stdout = subprocess.PIPE,
-                                    stderr = subprocess.PIPE
-                                    )
+            p = subprocess.Popen(cmdline,
+                                 stdin = subprocess.PIPE,
+                                 stdout = subprocess.PIPE,
+                                 stderr = subprocess.PIPE
+                                )
             if self.command.lower() == "post" and nbytes > 0:
                 data = self.rfile.read(nbytes)
             else:


More information about the Python-checkins mailing list