From f8480a7856f8f2027c3f064219466b096fc104e5 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 15 Mar 2006 23:08:13 +0000 Subject: [PATCH] Instead of relative imports, use (implicitly) absolute ones. --- Lib/distutils/sysconfig.py | 2 +- Lib/encodings/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/distutils/sysconfig.py b/Lib/distutils/sysconfig.py index dc603be8b75..0feb14aa2b5 100644 --- a/Lib/distutils/sysconfig.py +++ b/Lib/distutils/sysconfig.py @@ -16,7 +16,7 @@ import re import string import sys -from .errors import DistutilsPlatformError +from distutils.errors import DistutilsPlatformError # These are needed in a couple of spots, so just compute them once. PREFIX = os.path.normpath(sys.prefix) diff --git a/Lib/encodings/__init__.py b/Lib/encodings/__init__.py index 1f469bf7d65..ff05fb75f98 100644 --- a/Lib/encodings/__init__.py +++ b/Lib/encodings/__init__.py @@ -29,7 +29,7 @@ Written by Marc-Andre Lemburg (mal@lemburg.com). """#" import codecs, types -from . import aliases +from encodings import aliases _cache = {} _unknown = '--unknown--'