don't use optional on final relation stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 23 Mar 2010 09:19:42 +0100
branchstable
changeset 4971 20bffbba7a5a
parent 4969 0ad18e41053a
child 4972 7b0cd6e024e2
don't use optional on final relation
web/views/schema.py
--- a/web/views/schema.py	Mon Mar 22 16:33:29 2010 +0100
+++ b/web/views/schema.py	Tue Mar 23 09:19:42 2010 +0100
@@ -247,7 +247,7 @@
         self.w(u'<h2>%s</h2>' % _('Relations'))
         rset = self._cw.execute(
             'Any R,C,TT,K,D,A,RN,TTN ORDERBY RN '
-            'WHERE A is CWRelation, A description D, A composite K?, '
+            'WHERE A is CWRelation, A description D, A composite K, '
             'A relation_type R, R name RN, A to_entity TT, TT name TTN, '
             'A cardinality C, A from_entity S, S eid %(x)s',
             {'x': entity.eid})
@@ -255,7 +255,7 @@
                    displaycols=range(6), mainindex=5)
         rset = self._cw.execute(
             'Any R,C,TT,K,D,A,RN,TTN ORDERBY RN '
-            'WHERE A is CWRelation, A description D, A composite K?, '
+            'WHERE A is CWRelation, A description D, A composite K, '
             'A relation_type R, R name RN, A from_entity TT, TT name TTN, '
             'A cardinality C, A to_entity O, O eid %(x)s',
             {'x': entity.eid})