[source] small refactoring to avoid being doomed by a wrong assertion message on buggy storage raising attribute error
# pylint: disable-msg=W0614,W0401fromwarningsimportwarnwarn('moved to cubicweb.dataimport',DeprecationWarning,stacklevel=2)fromcubicweb.dataimportimport*