author Denis Laxalde <>
Wed, 02 Oct 2019 14:42:30 +0200
changeset 3042 1dd2faa2de16
parent 2670 a671735e9217
permissions -rw-r--r--
[py3] Fix comparison of cardinality when maxc is graph_nodes.INFINITY `max(maxc, maxvalue)` would evaluate to `max("Infinity", <some integer>)` when maxc is graph_nodes.INFINITY. While this works on python2 (by chance, since strings and integers can be compared), this does not on python3. We thus move the "if" that checks for graph_nodes.INFINITY inside the "for" loop.


This cube implements the SEDA_ standard for CubicWeb. It has been funded by the
SIAF_ and the `SAEM project`_.

.. _SEDA:
.. _SIAF:ériel_des_Archives_de_France
.. _`SAEM project`:

Project is hosted at and source
code at

To launch the tests::

  python -m tox

To generate the documentation::

  python -m tox -e doc

Part of the code is generated from SEDA 2's XSD schema. If you update the schema
or code generator (on of the `cubicweb_seda/xsd*.py` files), to update the
generated code type::

  python -m tox -e make