Changed the parameter from ancestor to ancestors to accommodate a list of ancestors.
--- 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: