Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
ó
ãEYc@sÇddlZddlZddlZddlZddlZy
ejZWnek
rbeZnXd
Z	e
Zddd„Z
d„Zddddd„Zd	„Ze
d
„Zd„Zd„ZdS(iÿÿÿÿNtbuiltinst__builtin__t__builtins__t
exceptionscCs^ts
dS|dkrt}n|dkrAtj|d|ƒntj|d|d|ƒdS(s„Warns about some type of deprecation that has been (or will be) made.

    This helper function makes it easier to interact with the warnings module
    by standardizing the arguments that the warning function receives so that
    it is easier to use.

    This should be used to emit warnings to users (users can easily turn these
    warnings off/on, see https://docs.python.org/2/library/warnings.html
    as they see fit so that the messages do not fill up the users logs with
    warnings that they do not wish to see in production) about functions,
    methods, attributes or other code that is deprecated and will be removed
    in a future release (this is done using these warnings to avoid breaking
    existing users of those functions, methods, code; which a library should
    avoid doing by always giving at *least* N + 1 release for users to address
    the deprecation warnings).
    Ntcategoryt
stacklevel(t_enabledtNonetDeprecationWarningtwarningstwarn(tmessageRR((sI/home/tvault/.virtenv/lib/python2.7/site-packages/debtcollector/_utils.pytdeprecation%s	cCs3yt|jfSWntk
r.t|jfSXdS(N(tTruet__qualname__tAttributeErrortFalset__name__(tobj((sI/home/tvault/.virtenv/lib/python2.7/site-packages/debtcollector/_utils.pytget_qualified_name@s
cCs–|g}|r#|jd|ƒn|rY|dkrE|jdƒqY|jd|ƒn|ro|j|ƒn|r‰|jd|ƒndj|ƒS(sDHelper to generate a common message 'style' for deprecation helpers.s in version '%s't?s( and will be removed in a future versions$ and will be removed in version '%s's: %st(tappendtjoin(tprefixtpostfixRtversiontremoval_versiontmessage_components((sI/home/tvault/.virtenv/lib/python2.7/site-packages/debtcollector/_utils.pytgenerate_messageHs		cCsWtjrtjSg}x0tjD]%}t||ƒr |j|ƒq q Wt|ƒSdS(s:Helper to fix/workaround https://bugs.python.org/issue3445N(tsixtPY3t	functoolstWRAPPER_ASSIGNMENTSthasattrRttuple(t	decoratortassignedt	attr_name((sI/home/tvault/.virtenv/lib/python2.7/site-packages/debtcollector/_utils.pytget_assigned\s	cCs‰t|tjƒs!t|ƒ}ny|jtk}Wntk
rGnX|rU|jS|r~t|dƒr~d|j|jfS|jSdS(sÛGet class name for object.

    If object is a type, fully qualified name of the type is returned.
    Else, fully qualified name of the type of the object is returned.
    For builtin types, just name is returned.
    t
__module__s%s.%sN(	t
isinstanceRtclass_typesttypeR(t_BUILTIN_MODULESRRR"(Rtfully_qualifiedtbuilt_in((sI/home/tvault/.virtenv/lib/python2.7/site-packages/debtcollector/_utils.pytget_class_namehs
cCs=tj|ƒsdSytj|ƒSWntk
r8dSXdS(s;Gets the ``self`` object attached to this method (or none).N(tinspecttismethodRRtget_method_selfR(tmethod((sI/home/tvault/.virtenv/lib/python2.7/site-packages/debtcollector/_utils.pyR2s
cCsªt|ƒ}|dk	r„t|tjƒr3|}nt|ƒ}y|j|jf}Wqqtk
r€|j|j	|j	f}qqXnít
j|ƒs¢t
j|ƒry|j|jf}Wqqtk
rt
|dƒrû|j}|j|j	|j	f}q|j|j	f}qqXn]t|ƒ}|tkr5|}ny|j|jf}Wn#tk
rp|j|j	f}nX|d|d}}|s™dj|ƒSdj|ƒSdS(seGenerate a name from callable.

    Tries to do the best to guess fully qualified callable name.
    tim_classiit.N(R2RR)RR*R+R(RRRR0R1t
isfunctionR"R4t
_TYPE_TYPER(tfunctiontmethod_selfR4tpartstmodtrest((sI/home/tvault/.virtenv/lib/python2.7/site-packages/debtcollector/_utils.pytget_callable_name‰s:	

		

(sbuiltinss__builtin__s__builtins__s
exceptions(R R0ttypesR	RtTypeTypeR7RR+R,R
RRRRRR'R/R2R=(((sI/home/tvault/.virtenv/lib/python2.7/site-packages/debtcollector/_utils.pyt<module>s$