]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove unused variable
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Tue, 30 Aug 2011 22:43:55 +0000 (00:43 +0200)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Tue, 30 Aug 2011 22:43:55 +0000 (00:43 +0200)
Lib/mimetypes.py

index 961e47fdf5e1dcf7081b87c9d9a903337046b854..41af94bdd2d7a511dfa633fe8b52b0331c4dd49c 100644 (file)
@@ -249,7 +249,6 @@ class MimeTypes:
                     yield ctype
                 i += 1
 
-        default_encoding = sys.getdefaultencoding()
         with _winreg.OpenKey(_winreg.HKEY_CLASSES_ROOT,
                              r'MIME\Database\Content Type') as mimedb:
             for ctype in enum_types(mimedb):