Kaydet (Commit) 6ce1daed authored tarafından Brian Curtin's avatar Brian Curtin

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

üst 000f974b
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment