Show More
@@ -12,7 +12,12 b' Authors:' | |||||
12 | #----------------------------------------------------------------------------- |
|
12 | #----------------------------------------------------------------------------- | |
13 |
|
13 | |||
14 | from pymongo import Connection |
|
14 | from pymongo import Connection | |
15 | from bson import Binary |
|
15 | ||
|
16 | # bson.Binary import moved | |||
|
17 | try: | |||
|
18 | from bson.binary import Binary | |||
|
19 | except ImportError: | |||
|
20 | from bson import Binary | |||
16 |
|
21 | |||
17 | from IPython.utils.traitlets import Dict, List, Unicode, Instance |
|
22 | from IPython.utils.traitlets import Dict, List, Unicode, Instance | |
18 |
|
23 |
General Comments 0
You need to be logged in to leave comments.
Login now