This is an automated email from the ASF dual-hosted git repository.

dill0wn pushed a commit to branch dw/8565
in repository https://gitbox.apache.org/repos/asf/allura.git

commit fe1cca05cbecad022d325226f924bf20f34c5294
Author: Dillon Walls <[email protected]>
AuthorDate: Wed Jul 17 14:47:21 2024 -0400

    fix import for pymongo4
---
 Allura/allura/lib/helpers.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Allura/allura/lib/helpers.py b/Allura/allura/lib/helpers.py
index c6fc9fbae..4ac03e2ae 100644
--- a/Allura/allura/lib/helpers.py
+++ b/Allura/allura/lib/helpers.py
@@ -51,8 +51,8 @@ import pkg_resources
 from formencode.validators import FancyValidator
 from dateutil.parser import parse
 from bson import ObjectId
+from bson.errors import InvalidId
 from paste.deploy import appconfig
-from pymongo.errors import InvalidId
 from contextlib import contextmanager
 from tg import tmpl_context as c, app_globals as g
 from tg import response, request

Reply via email to