michr
2011-09-23 abcef328b5bbdb7a8c695e06a5c93ce0d8834275
fix up warning rendering in chameleon.zpt ... a drop in a bucket
2 files modified
32 ■■■■ changed files
pyramid/chameleon_text.py 16 ●●●● patch | view | raw | blame | history
pyramid/chameleon_zpt.py 16 ●●●● patch | view | raw | blame | history
pyramid/chameleon_text.py
@@ -57,7 +57,9 @@
    package-relative path, an absolute path, or a :term:`asset
    specification`.
    
    .. warning:: This API is deprecated in :app:`Pyramid` 1.0.  Use
    .. warning::
       This API is deprecated in :app:`Pyramid` 1.0.  Use
       :func:`pyramid.renderers.get_renderer` instead.
    """
    package = caller_package()
@@ -75,7 +77,9 @@
    The ``path`` argument may be a package-relative path, an absolute
    path, or a :term:`asset specification`.
    .. warning:: This API is deprecated in :app:`Pyramid` 1.0.  Use
    .. warning::
       This API is deprecated in :app:`Pyramid` 1.0.  Use
       the ``implementation()`` method of a template renderer retrieved via
       :func:`pyramid.renderers.get_renderer` instead.
    """
@@ -97,7 +101,9 @@
    names to the template, and so may be used within the template
    itself.  Returns a string.
    .. warning:: This API is deprecated in :app:`Pyramid` 1.0.  Use
    .. warning::
       This API is deprecated in :app:`Pyramid` 1.0.  Use
       :func:`pyramid.renderers.render` instead.
    """
    package = caller_package()
@@ -119,7 +125,9 @@
    itself.  Returns a :term:`Response` object with the body as the
    template result.
    .. warning:: This API is deprecated in :app:`Pyramid` 1.0.  Use
    .. warning::
       This API is deprecated in :app:`Pyramid` 1.0.  Use
       :func:`pyramid.renderers.render_to_response` instead.
    """
    package = caller_package()
pyramid/chameleon_zpt.py
@@ -56,7 +56,9 @@
    package-relative path, an absolute path, or a :term:`asset
    specification`.
    
    .. warning:: This API is deprecated in :app:`Pyramid` 1.0.  Use
    .. warning::
       This API is deprecated in :app:`Pyramid` 1.0.  Use
       :func:`pyramid.renderers.get_renderer` instead.
    """
    package = caller_package()
@@ -74,7 +76,9 @@
    The ``path`` argument may be a package-relative path, an absolute
    path, or a :term:`asset specification`.
    .. warning:: This API is deprecated in :app:`Pyramid` 1.0.  Use
    .. warning::
       This API is deprecated in :app:`Pyramid` 1.0.  Use
       the ``implementation()`` method of a template renderer retrieved via
       :func:`pyramid.renderers.get_renderer` instead.
    """
@@ -96,7 +100,9 @@
    names to the template, and so may be used within the template
    itself.  Returns a string.
    .. warning:: This API is deprecated in :app:`Pyramid` 1.0.  Use
    .. warning::
       This API is deprecated in :app:`Pyramid` 1.0.  Use
       :func:`pyramid.renderers.render` instead.
    """
    package = caller_package()
@@ -118,7 +124,9 @@
    itself.  Returns a :term:`Response` object with the body as the
    template result.
    .. warning:: This API is deprecated in :app:`Pyramid` 1.0.  Use
    .. warning::
       This API is deprecated in :app:`Pyramid` 1.0.  Use
       :func:`pyramid.renderers.render_to_response` instead.
    """
    package = caller_package()