author Sylvain Thénault <>
Tue, 12 Dec 2017 17:57:57 +0100
changeset 2915 451328134bee
parent 2834 149c09c5aae8
permissions -rw-r--r--
[entities] Add a safety belt avoid unexpected error in some corner case e.g. while debugging an instance I attempted to display result of 'Any X, C WHERE X container C' with unexpectedly to container for the entity, but I wasn't able to display it because raised an error since len(rset) was 2. Even if the caller may be wrong, it seems ok to not call if function is called in an erroneous context and simply return None in such case.

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