mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Fixing the NameError on Windows - issue1235
This commit is contained in:
		
							parent
							
								
									3a145a18c8
								
							
						
					
					
						commit
						5dff3544f3
					
				
					 1 changed files with 5 additions and 5 deletions
				
			
		|  | @ -271,11 +271,11 @@ def run_cgi(self): | ||||||
|                 nbytes = int(length) |                 nbytes = int(length) | ||||||
|             except (TypeError, ValueError): |             except (TypeError, ValueError): | ||||||
|                 nbytes = 0 |                 nbytes = 0 | ||||||
|             files = subprocess.Popen(cmdline, |             p = subprocess.Popen(cmdline, | ||||||
|                                     stdin = subprocess.PIPE, |                                  stdin = subprocess.PIPE, | ||||||
|                                     stdout = subprocess.PIPE, |                                  stdout = subprocess.PIPE, | ||||||
|                                     stderr = subprocess.PIPE |                                  stderr = subprocess.PIPE | ||||||
|                                     ) |                                 ) | ||||||
|             if self.command.lower() == "post" and nbytes > 0: |             if self.command.lower() == "post" and nbytes > 0: | ||||||
|                 data = self.rfile.read(nbytes) |                 data = self.rfile.read(nbytes) | ||||||
|             else: |             else: | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Senthil Kumaran
						Senthil Kumaran