Fix r85774 editor fail. Had a dangling try and incorrect indent.

This commit is contained in:
Brian Curtin 2010-10-21 14:45:01 +00:00
parent 000f974b44
commit 6ce1daedc3
1 changed files with 1 additions and 2 deletions

View File

@ -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