Changed the parameter from ancestor to ancestors to accommodate a list of ancestors.
authorMadhusudan.C.S <madhusudancs@gmail.com>
Wed, 12 Aug 2009 02:37:55 +0530
changeset 2758 688753f1d406
parent 2757 7d0d0ce76bd9
child 2759 5a8bd9d7725c
Changed the parameter from ancestor to ancestors to accommodate a list of ancestors.
app/soc/logic/models/base.py
--- a/app/soc/logic/models/base.py	Tue Aug 11 12:48:10 2009 -0700
+++ b/app/soc/logic/models/base.py	Wed Aug 12 02:37:55 2009 +0530
@@ -335,8 +335,8 @@
       result = query.fetch(limit, offset)
     except db.NeedIndexError, exception:
       result = []
-      logging.exception("%s, model: %s filter: %s, ancestor: %s, order: %s" % 
-                        (exception, self._model, filter, ancestor, order))
+      logging.exception("%s, model: %s filter: %s, ancestors: %s, order: %s" % 
+                        (exception, self._model, filter, ancestors, order))
       # TODO: send email
 
     if unique: