mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 19:34:08 +00:00 
			
		
		
		
	Fix 'reinitialize_command()' so it resets the 'have_run' flag for the
command being reinitialized to false.
This commit is contained in:
		
							parent
							
								
									e18dd8dd8f
								
							
						
					
					
						commit
						43955c9a02
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -712,6 +712,7 @@ class Distribution:
 | 
			
		|||
            return command
 | 
			
		||||
        command.initialize_options()
 | 
			
		||||
        command.finalized = 0
 | 
			
		||||
        self.have_run[command_name] = 0
 | 
			
		||||
        self._set_command_options(command)
 | 
			
		||||
        return command
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue