[primary] fix name error stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 08 Apr 2010 10:00:22 +0200
branchstable
changeset 5182 3bc8250731fe
parent 5181 f34ee58fdfc8
child 5183 8d66003351f8
[primary] fix name error
web/views/primary.py
--- a/web/views/primary.py	Thu Apr 08 09:49:00 2010 +0200
+++ b/web/views/primary.py	Thu Apr 08 10:00:22 2010 +0200
@@ -130,7 +130,7 @@
                 display_attributes.append( (rschema, role, dispctrl, value) )
         if display_attributes:
             self.w(u'<table>')
-            for rschema, role, dispctrl, value in entity_attributes:
+            for rschema, role, dispctrl, value in display_attributes:
                 try:
                     self._render_attribute(dispctrl, rschema, value,
                                            role=role, table=True)