From 27e8aa9c6815d1e514e003a7f7b32e98425d0d03 Mon Sep 17 00:00:00 2001 From: Ross Lawley Date: Wed, 5 Jun 2013 09:30:01 +0000 Subject: [PATCH] Added comment about why temp debugging exists --- mongoengine/context_managers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mongoengine/context_managers.py b/mongoengine/context_managers.py index a5e25248..db0830d7 100644 --- a/mongoengine/context_managers.py +++ b/mongoengine/context_managers.py @@ -190,6 +190,7 @@ class query_counter(object): def __eq__(self, value): """ == Compare querycounter. """ counter = self._get_count() + # Temp debugging to try and understand intermittent travis-ci failures if value != counter: print [x for x in self.db.system.profile.find()] return value == counter