summaryrefslogtreecommitdiff
path: root/msgpack/fallback.py
diff options
context:
space:
mode:
authorFelix Schwarz <felix.schwarz@oss.schwarz.eu>2019-05-12 14:44:32 +0200
committerInada Naoki <songofacandy@gmail.com>2019-05-12 21:44:32 +0900
commit05ff11dbcc8181cc781b121e46e76a01258a32af (patch)
treec972ea0cbd95fbe7c1f396d9958b5d4419a8f1d1 /msgpack/fallback.py
parent737f08a885dcff32aa1a417a45936d7f7810ee37 (diff)
downloadmsgpack-python-05ff11dbcc8181cc781b121e46e76a01258a32af.tar.gz
use relative imports (#357)
Some applications use msgpack to store persistent data and require a specific msgpack version (e.g. borgbackup). Bundling helps in case there is an (incompatible) version of msgpack in a system-wide install.
Diffstat (limited to 'msgpack/fallback.py')
-rw-r--r--msgpack/fallback.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/msgpack/fallback.py b/msgpack/fallback.py
index 1aa3bdf..3836e83 100644
--- a/msgpack/fallback.py
+++ b/msgpack/fallback.py
@@ -59,7 +59,7 @@ else:
newlist_hint = lambda size: []
-from msgpack.exceptions import (
+from .exceptions import (
BufferFull,
OutOfData,
ExtraData,
@@ -67,7 +67,7 @@ from msgpack.exceptions import (
StackError,
)
-from msgpack import ExtType
+from . import ExtType
EX_SKIP = 0