Repository URL to install this package:
|
Version:
2.5 ▾
|
ó
ãEYc @ sS d d l Z d d l m Z e j j d j Z d d d d d e d Z
d S( iÿÿÿÿN( t _utilst
debtcollectori c
C sD t j | d | d | d | d | } t j | d | d | d S( s Helper to deprecate some thing using generated message format.
:param prefix: prefix string used as the prefix of the output message
:param postfix: postfix string used as the postfix of the output message
:param message: message string used as ending contents of the deprecate
message
:param version: version string (represents the version this
deprecation was created in)
:param removal_version: version string (represents the version this
deprecation will be removed in); a string of '?'
will denote this will be removed in some future
unknown version
:param stacklevel: stacklevel used in the :func:`warnings.warn` function
to locate where the users code is in the
:func:`warnings.warn` call
:param category: the :mod:`warnings` category to use, defaults to
:py:class:`DeprecationWarning` if not provided
t postfixt versiont messaget removal_versiont
stacklevelt categoryN( R t generate_messaget deprecation( t prefixR R R R R R t out_message( ( sK /home/tvault/.virtenv/lib/python2.7/site-packages/debtcollector/__init__.pyt deprecate s
( t pbr.versiont pbrR R R t VersionInfot version_stringt __version__t Nonet DeprecationWarningR ( ( ( sK /home/tvault/.virtenv/lib/python2.7/site-packages/debtcollector/__init__.pyt <module> s