equal
deleted
inserted
replaced
21 from cubicweb.rset import ResultSet |
21 from cubicweb.rset import ResultSet |
22 from cubicweb.selectors import yes |
22 from cubicweb.selectors import yes |
23 from cubicweb.appobject import AppRsetObject |
23 from cubicweb.appobject import AppRsetObject |
24 from cubicweb.schema import RQLVocabularyConstraint, RQLConstraint, bw_normalize_etype |
24 from cubicweb.schema import RQLVocabularyConstraint, RQLConstraint, bw_normalize_etype |
25 |
25 |
26 try: |
26 from cubicweb.common.uilib import printable_value, soup2xhtml |
27 from cubicweb.common.uilib import printable_value, soup2xhtml |
27 from cubicweb.common.mixins import MI_REL_TRIGGERS |
28 from cubicweb.common.mixins import MI_REL_TRIGGERS |
28 from cubicweb.common.mttransforms import ENGINE |
29 from cubicweb.common.mttransforms import ENGINE |
|
30 except ImportError: |
|
31 # missing -common |
|
32 MI_REL_TRIGGERS = {} |
|
33 |
29 |
34 _marker = object() |
30 _marker = object() |
35 |
31 |
36 def greater_card(rschema, subjtypes, objtypes, index): |
32 def greater_card(rschema, subjtypes, objtypes, index): |
37 for subjtype in subjtypes: |
33 for subjtype in subjtypes: |