author Denis Laxalde <>
Wed, 02 Oct 2019 14:42:30 +0200
changeset 3042 1dd2faa2de16
parent 2834 149c09c5aae8
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.

recursive-include cubicweb_seda *.py
recursive-include cubicweb_seda/data *.gif *.png *.ico *.css *.js
recursive-include cubicweb_seda/xsd *.xsd
recursive-include doc *.txt *.rst *.py
recursive-include test *.py
include cubicweb_seda/migration/data/*.csv
include cubicweb_seda/i18n/*.po cubicweb_seda/i18n/*.pot
include test/data/bootstrap_cubes test/data/*.xml test/data/*.xsd test/data/*.rng test/data/*.csv
include tox.ini dev-requirements.txt cubicweb_seda/makefile

prune cubicweb-seda.spec
prune debian