From 820c1200597606f95bb996586be88a3283c6448c Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Thu, 12 Jun 2008 04:06:45 +0000 Subject: Patch for issue 2848, mostly by Humberto Diogenes, with a couple of small fixes by Barry. This removes mimetools from the stdlib. --- Lib/email/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/email/utils.py') diff --git a/Lib/email/utils.py b/Lib/email/utils.py index 8747110ef8..0439aff938 100644 --- a/Lib/email/utils.py +++ b/Lib/email/utils.py @@ -25,7 +25,6 @@ import time import base64 import random import socket -import urllib import warnings from io import StringIO @@ -235,6 +234,7 @@ def decode_params(params): params is a sequence of 2-tuples containing (param name, string value). """ + import urllib # Copy params so we don't mess with the original params = params[:] new_params = [] -- cgit v1.2.1