Issue #362 - Added new `wtforms.Form`; `MediaCommentForm()`
[mediagoblin.git] / mediagoblin / decorators.py
index c2fe3f9fdbf0bd7db962e197589b0f1c6e8aadfc..081eda623f08c0d386d903bfbc9e4234aed4dba4 100644 (file)
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 
-from bson.errors import InvalidId
 from webob import exc
 
 from mediagoblin.util import redirect
-from mediagoblin.db.util import ObjectId
+from mediagoblin.db.util import ObjectId, InvalidId
 
 
 def _make_safe(decorator, original):