Move InvalidId to db.util

Instead of import InvalidId from the low level bson module,
first import it in our db.util wrapper and second import it
from pymongo.errors.
This commit is contained in:
Elrond
2011-06-20 00:09:40 +02:00
parent 188240e312
commit 3efdd97c2e
2 changed files with 2 additions and 2 deletions

View File

@@ -17,4 +17,5 @@
# Imports that other modules might use
from pymongo import DESCENDING
from pymongo.errors import InvalidId
from mongokit import ObjectId