mirror of https://github.com/python/cpython
Fix r85774 editor fail. Had a dangling try and incorrect indent.
This commit is contained in:
parent
000f974b44
commit
6ce1daedc3
|
@ -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…
Reference in New Issue