aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/db/util.py
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2011-06-22 09:52:13 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2011-06-22 09:52:13 -0500
commitcf383901a960897b92d05bd04b88d688920c6ef7 (patch)
tree8b3263b77c96d3b259359b83e3426ab802dea5b5 /mediagoblin/db/util.py
parentd220f87c120e4c8627a80adaa6fab18ebe85669f (diff)
parent3efdd97c2e3e3af3b9c74e6ab217fd57088e9dfa (diff)
downloadmediagoblin-cf383901a960897b92d05bd04b88d688920c6ef7.tar.lz
mediagoblin-cf383901a960897b92d05bd04b88d688920c6ef7.tar.xz
mediagoblin-cf383901a960897b92d05bd04b88d688920c6ef7.zip
Merge remote branch 'remotes/elrond/idea/invalidid'
Diffstat (limited to 'mediagoblin/db/util.py')
-rw-r--r--mediagoblin/db/util.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mediagoblin/db/util.py b/mediagoblin/db/util.py
index 30615fca..470da531 100644
--- a/mediagoblin/db/util.py
+++ b/mediagoblin/db/util.py
@@ -17,4 +17,5 @@
# Imports that other modules might use
from pymongo import DESCENDING
+from pymongo.errors import InvalidId
from mongokit import ObjectId