Use relative imports in a few places where I noticed the need.
(Ideally, all packages in Python 2.5 will use the relative import syntax for all their relative import needs.)
This commit is contained in:
parent
903d846a69
commit
87de069e4e
|
@ -16,7 +16,7 @@ import re
|
||||||
import string
|
import string
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from errors import DistutilsPlatformError
|
from .errors import DistutilsPlatformError
|
||||||
|
|
||||||
# These are needed in a couple of spots, so just compute them once.
|
# These are needed in a couple of spots, so just compute them once.
|
||||||
PREFIX = os.path.normpath(sys.prefix)
|
PREFIX = os.path.normpath(sys.prefix)
|
||||||
|
|
|
@ -27,7 +27,8 @@ Written by Marc-Andre Lemburg (mal@lemburg.com).
|
||||||
|
|
||||||
"""#"
|
"""#"
|
||||||
|
|
||||||
import codecs, types, aliases
|
import codecs, types
|
||||||
|
from . import aliases
|
||||||
|
|
||||||
_cache = {}
|
_cache = {}
|
||||||
_unknown = '--unknown--'
|
_unknown = '--unknown--'
|
||||||
|
|
Loading…
Reference in New Issue