summaryrefslogtreecommitdiffstats
path: root/Lib/email
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2002-06-02 19:07:16 (GMT)
committerBarry Warsaw <barry@python.org>2002-06-02 19:07:16 (GMT)
commit21f77ac0bc38ae54023705feb3e70b0d504dfb13 (patch)
tree9ec76629867fe514dc9cb02343c00480e4331041 /Lib/email
parent8ba76e8929058634ee55bea8781e32715b0ce5c2 (diff)
downloadcpython-21f77ac0bc38ae54023705feb3e70b0d504dfb13.zip
cpython-21f77ac0bc38ae54023705feb3e70b0d504dfb13.tar.gz
cpython-21f77ac0bc38ae54023705feb3e70b0d504dfb13.tar.bz2
Use absolute import paths for intrapackage imports.
Diffstat (limited to 'Lib/email')
-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