summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2011-08-31 00:43:55 +0200
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2011-08-31 00:43:55 +0200
commit7ec192878ab7c898cd375eb00eedbf33e0550ee1 (patch)
treec599fcc98207a8c2b056bed72f938ee9233c7409
parent2d243494c664376f3ea1130ef79c58cf52717de8 (diff)
downloadcpython-git-7ec192878ab7c898cd375eb00eedbf33e0550ee1.tar.gz
Remove unused variable
-rw-r--r--Lib/mimetypes.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py
index 961e47fdf5..41af94bdd2 100644
--- a/Lib/mimetypes.py
+++ b/Lib/mimetypes.py
@@ -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):