mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 07:31:38 +00:00 
			
		
		
		
	Fix r85774 editor fail. Had a dangling try and incorrect indent.
This commit is contained in:
		
							parent
							
								
									000f974b44
								
							
						
					
					
						commit
						6ce1daedc3
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
					@ -255,8 +255,7 @@ def enum_types(mimedb):
 | 
				
			||||||
            for ctype in enum_types(mimedb):
 | 
					            for ctype in enum_types(mimedb):
 | 
				
			||||||
                try:
 | 
					                try:
 | 
				
			||||||
                    with _winreg.OpenKey(mimedb, ctype) as key:
 | 
					                    with _winreg.OpenKey(mimedb, ctype) as key:
 | 
				
			||||||
                        try:
 | 
					                        suffix, datatype = _winreg.QueryValueEx(key,
 | 
				
			||||||
                            suffix, datatype = _winreg.QueryValueEx(key,
 | 
					 | 
				
			||||||
                                                                'Extension')
 | 
					                                                                'Extension')
 | 
				
			||||||
                except EnvironmentError:
 | 
					                except EnvironmentError:
 | 
				
			||||||
                    continue
 | 
					                    continue
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue