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 b0342d750d5facb5c9e6c2d7c9414eeaf5b99cc1
Author: Dillon Walls <dillon.wa...@slashdotmedia.com>
AuthorDate: Tue Jul 2 11:42:48 2024 -0400

    drop pymongo/ming  method
---
 Allura/allura/lib/custom_middleware.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Allura/allura/lib/custom_middleware.py 
b/Allura/allura/lib/custom_middleware.py
index 0e3e2642c..848bd5df3 100644
--- a/Allura/allura/lib/custom_middleware.py
+++ b/Allura/allura/lib/custom_middleware.py
@@ -328,7 +328,7 @@ class AlluraTimerMiddleware(TimerMiddleware):
                   'insert_now', 'update_now', 'delete_now',
                   'find', 'find_one_and_update', 'find_one_and_replace', 
'find_one_and_delete', 
                   'remove', 'update', 'update_if_not_modified',
-                  'aggregate', 'group', 'distinct',
+                  'aggregate', 'distinct',
                   ),
             # Timer('ming', ming.schema.Document, 'validate',
             #       debug_each_call=False),
@@ -336,7 +336,7 @@ class AlluraTimerMiddleware(TimerMiddleware):
             #       '_validate_fast_missing', '_validate_optional',
             #       debug_each_call=False),
             Timer('mongo', pymongo.collection.Collection, 'count', 'find',
-                  'find_one', 'aggregate', 'group', 
+                  'find_one', 'aggregate', 
                   'find_one_and_update', 'find_one_and_replace', 
'find_one_and_delete', 
                   'insert', 'save', 'update', 'remove', 'drop'),
             Timer('mongo', pymongo.cursor.Cursor, 'count', 'distinct',

Reply via email to