[sources] Simplify source's init method
Only call it when enabled instead of giving a boolean flag indicating whether it
is or not (which were not correctly considered).
.. _core_module:
:mod:`cubicweb.pyramid.core`
----------------------------
.. automodule:: cubicweb.pyramid.core
.. autofunction:: includeme
.. autofunction:: cw_to_pyramid
.. autofunction:: render_view
.. autofunction:: repo_connect
.. autofunction:: get_principals
.. autoclass:: CubicWebPyramidRequest
:show-inheritance:
:members:
.. autofunction:: _cw_session
.. autofunction:: _cw_cnx
.. autofunction:: _cw_request