debian/python-cubicweb-documentation.docs
author Philippe Pepiot <philippe.pepiot@logilab.fr>
Tue, 07 Feb 2017 13:47:03 +0100
changeset 11955 f85ec84355db
parent 11832 e8be49ecb522
permissions -rw-r--r--
Fix possible double import of cubes modules When cubes using the new layout are imported with 'cubicweb_<cube>' and with 'cubes.<cube>', the same module is imported twice. Handle this by adding 'cubes.<cube>' to sys.modules when importing from 'cubicweb_<cube>'. Move load_module() to a sub class _CubesLoader to share informations computed in find_modules(). Don't handle subpackages in _CubesImporter and rely on normal import machinery instead. Add a test and use unittest from cubicweb.devtools.testlib which resolve to unittest2 on PY2 with assertLogs() method.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
11832
e8be49ecb522 [debian] Update debian packaging (closes #16133259)
David Douard <david.douard@logilab.fr>
parents: 10560
diff changeset
     1
debian/cubicweb-doc/html 
e8be49ecb522 [debian] Update debian packaging (closes #16133259)
David Douard <david.douard@logilab.fr>
parents: 10560
diff changeset
     2
doc/book