diff --git a/boltons/cacheutils.py b/boltons/cacheutils.py index 4e5e508..27a19cb 100644 --- a/boltons/cacheutils.py +++ b/boltons/cacheutils.py @@ -82,7 +82,7 @@ except Exception: pass try: - from boltons.typeutils import make_sentinel + from .typeutils import make_sentinel _MISSING = make_sentinel(var_name='_MISSING') _KWARG_MARK = make_sentinel(var_name='_KWARG_MARK') except ImportError: diff --git a/boltons/debugutils.py b/boltons/debugutils.py index 772f231..aca42d5 100644 --- a/boltons/debugutils.py +++ b/boltons/debugutils.py @@ -47,7 +47,7 @@ except NameError: from reprlib import Repr try: - from typeutils import make_sentinel + from .typeutils import make_sentinel _UNSET = make_sentinel(var_name='_UNSET') except ImportError: _UNSET = object() diff --git a/boltons/dictutils.py b/boltons/dictutils.py index 2954bba..31a1951 100644 --- a/boltons/dictutils.py +++ b/boltons/dictutils.py @@ -82,7 +82,7 @@ except ImportError: from itertools import zip_longest as izip_longest try: - from typeutils import make_sentinel + from .typeutils import make_sentinel _MISSING = make_sentinel(var_name='_MISSING') except ImportError: _MISSING = object() diff --git a/boltons/funcutils.py b/boltons/funcutils.py index 4348516..e46cddc 100644 --- a/boltons/funcutils.py +++ b/boltons/funcutils.py @@ -64,7 +64,7 @@ except AttributeError: try: - from boltons.typeutils import make_sentinel + from .typeutils import make_sentinel NO_DEFAULT = make_sentinel(var_name='NO_DEFAULT') except ImportError: NO_DEFAULT = object() diff --git a/boltons/iterutils.py b/boltons/iterutils.py index 3707566..d3da6e2 100644 --- a/boltons/iterutils.py +++ b/boltons/iterutils.py @@ -55,7 +55,7 @@ except ImportError: try: - from typeutils import make_sentinel + from .typeutils import make_sentinel _UNSET = make_sentinel('_UNSET') _REMAP_EXIT = make_sentinel('_REMAP_EXIT') except ImportError: diff --git a/boltons/listutils.py b/boltons/listutils.py index 290ace1..e1bd3cd 100644 --- a/boltons/listutils.py +++ b/boltons/listutils.py @@ -47,7 +47,7 @@ from math import log as math_log from itertools import chain, islice try: - from typeutils import make_sentinel + from .typeutils import make_sentinel _MISSING = make_sentinel(var_name='_MISSING') except ImportError: _MISSING = object() diff --git a/boltons/queueutils.py b/boltons/queueutils.py index 42adb14..56bf591 100644 --- a/boltons/queueutils.py +++ b/boltons/queueutils.py @@ -70,13 +70,13 @@ from bisect import insort import itertools try: - from typeutils import make_sentinel + from .typeutils import make_sentinel _REMOVED = make_sentinel(var_name='_REMOVED') except ImportError: _REMOVED = object() try: - from listutils import BList + from .listutils import BList # see BarrelList docstring for notes except ImportError: BList = list diff --git a/boltons/setutils.py b/boltons/setutils.py index 16e5d74..5ee697e 100644 --- a/boltons/setutils.py +++ b/boltons/setutils.py @@ -53,7 +53,7 @@ except ImportError: from collections import MutableSet try: - from typeutils import make_sentinel + from .typeutils import make_sentinel _MISSING = make_sentinel(var_name='_MISSING') except ImportError: _MISSING = object() diff --git a/boltons/socketutils.py b/boltons/socketutils.py index d1c7233..4944227 100644 --- a/boltons/socketutils.py +++ b/boltons/socketutils.py @@ -82,7 +82,7 @@ except Exception: try: - from typeutils import make_sentinel + from .typeutils import make_sentinel _UNSET = make_sentinel(var_name='_UNSET') except ImportError: _UNSET = object() diff --git a/boltons/tableutils.py b/boltons/tableutils.py index 13234a5..22c896f 100644 --- a/boltons/tableutils.py +++ b/boltons/tableutils.py @@ -72,7 +72,7 @@ except NameError: from html import escape as html_escape try: - from typeutils import make_sentinel + from .typeutils import make_sentinel _MISSING = make_sentinel(var_name='_MISSING') except ImportError: _MISSING = object() diff --git a/boltons/urlutils.py b/boltons/urlutils.py index 7462ed4..f21e505 100644 --- a/boltons/urlutils.py +++ b/boltons/urlutils.py @@ -995,7 +995,7 @@ except ImportError: from itertools import zip_longest as izip_longest try: - from typeutils import make_sentinel + from .typeutils import make_sentinel _MISSING = make_sentinel(var_name='_MISSING') except ImportError: _MISSING = object() @@ -1538,7 +1538,7 @@ class OrderedMultiDict(dict): try: # try to import the built-in one anyways - from boltons.dictutils import OrderedMultiDict + from .dictutils import OrderedMultiDict except ImportError: pass