remark stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 08 Jul 2009 07:44:49 +0200
branchstable
changeset 2320 17dc9661af57
parent 2319 654decb099e3
child 2321 0b363cd5ef76
remark
entity.py
--- a/entity.py	Wed Jul 08 07:44:41 2009 +0200
+++ b/entity.py	Wed Jul 08 07:44:49 2009 +0200
@@ -659,6 +659,7 @@
                     self.critical("can't get value for attribute %s of entity with eid %s",
                                   name, self.eid)
                     if self.e_schema.destination(name) == 'String':
+                        # XXX (syt) imo emtpy string is better
                         self[name] = value = self.req._('unaccessible')
                     else:
                         self[name] = value = None