[req] clearer exception message
Display what attribute trigger the NotImplementedError
--- a/cubicweb/req.py Fri Apr 21 10:29:44 2017 +0200
+++ b/cubicweb/req.py Tue Apr 25 17:10:16 2017 +0200
@@ -218,7 +218,8 @@
eschema = self.vreg.schema.eschema(etype)
for attr, value in kwargs.items():
if isinstance(value, list) or isinstance(value, tuple):
- raise NotImplementedError("List of values are not supported")
+ raise NotImplementedError(
+ '{0}: list of values are not supported'.format(attr))
if hasattr(value, 'eid'):
kwargs[attr] = value.eid
if attr.startswith('reverse_'):