view.py
changeset 4141 637170c17643
parent 4063 cf7d6211d957
child 4181 c79135c217df
--- a/view.py	Fri Dec 18 14:28:29 2009 +0100
+++ b/view.py	Wed Dec 16 14:19:01 2009 +0100
@@ -180,7 +180,7 @@
         """
         rset = self.cw_rset
         if rset is None:
-            raise NotImplementedError, self
+            raise NotImplementedError, (self, "an rset is required")
         wrap = self.templatable and len(rset) > 1 and self.add_div_section
         # XXX propagate self.extra_kwars?
         for i in xrange(len(rset)):