summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/email/Utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/email/Utils.py b/Lib/email/Utils.py
index 0c57392..5624278 100644
--- a/Lib/email/Utils.py
+++ b/Lib/email/Utils.py
@@ -42,7 +42,7 @@ except ImportError:
import base64
# Intrapackage imports
-from Encoders import _bencode, _qencode
+from email.Encoders import _bencode, _qencode
COMMASPACE = ', '
UEMPTYSTRING = u''
@@ -135,7 +135,7 @@ def decode(s):
"""
warnings.warn('Use Header.decode_header() instead.', DeprecationWarning, 2)
# Intra-package import here to avoid circular import problems.
- from Header import decode_header
+ from email.Header import decode_header
L = decode_header(s)
if not isinstance(L, ListType):
# s wasn't decoded