1. Waldemar Kornewald
  2. djangoappengine

Commits

Waldemar Kornewald  committed ab2a594

don't raise exception when cursor is not available

  • Participants
  • Parent commits e2f08ac
  • Branches default

Comments (0)

Files changed (1)

File db/compiler.py

View file
             yield self._make_entity(entity)
 
         if executed and not isinstance(query, MultiQuery):
-            self.query._gae_cursor = query.GetCompiledCursor()
+            try:
+                self.query._gae_cursor = query.GetCompiledCursor()
+            except:
+                pass
 
     @safe_call
     def count(self, limit=None):