mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +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 @@ class MimeTypes:
|
|||
for ctype in enum_types(mimedb):
|
||||
try:
|
||||
with _winreg.OpenKey(mimedb, ctype) as key:
|
||||
try:
|
||||
suffix, datatype = _winreg.QueryValueEx(key,
|
||||
suffix, datatype = _winreg.QueryValueEx(key,
|
||||
'Extension')
|
||||
except EnvironmentError:
|
||||
continue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue