diff options
Diffstat (limited to 'kombu/transport/mongodb.py')
-rw-r--r-- | kombu/transport/mongodb.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kombu/transport/mongodb.py b/kombu/transport/mongodb.py index 26017fe8..a0653c76 100644 --- a/kombu/transport/mongodb.py +++ b/kombu/transport/mongodb.py @@ -9,6 +9,8 @@ MongoDB transport. :license: BSD, see LICENSE for more details. """ +from __future__ import absolute_import + from Queue import Empty import pymongo @@ -16,7 +18,7 @@ from pymongo import errors from anyjson import serialize, deserialize from pymongo.connection import Connection -from kombu.transport import virtual +from . import virtual DEFAULT_HOST = "127.0.0.1" DEFAULT_PORT = 27017 |