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áddlZddlZddlZddlmZdZdZdZdZddddddd„Z
dddddd	„Zd
efd„ƒYZ
dddddd„Zdddddd
„Zdddddd„ZdS(iÿÿÿÿN(t_utilss%s '%s' has moved to '%s'sClass '%s' has moved to '%s's()sFunction '%s' has moved to '%s'ic	s(‡‡‡‡‡‡‡‡fd†}|S(s?Decorates a method/property that was moved to another location.c
sbtj|ƒ\‰‰ˆr(ˆˆ7‰ntj‡‡‡‡‡‡‡‡‡	f	d†ƒ}||ƒS(Nc	s¨tj|dtƒ}ˆr$ˆ}ndj|ˆfƒ}dj|ˆfƒ}tˆ||f}tj|dˆdˆdˆƒ}tj|dˆdˆƒ|||ŽS(Ntfully_qualifiedt.tmessagetversiontremoval_versiont
stackleveltcategory(Rtget_class_nametFalsetjoint_KIND_MOVED_PREFIX_TPLtgenerate_messagetdeprecation(	twrappedtinstancetargstkwargst	base_nametold_nametnew_nametprefixtout_message(	RRtkindRtnew_attribute_nametold_attribute_nameRRR(sH/home/tvault/.virtenv/lib/python2.7/site-packages/debtcollector/moves.pytwrapper(s	(Rtget_qualified_nametwraptt	decorator(tfR(tattr_postfixRRRRRRR(RRsH/home/tvault/.virtenv/lib/python2.7/site-packages/debtcollector/moves.pyR#s

0((	RRRRRRRRR((RRRRRRRRsH/home/tvault/.virtenv/lib/python2.7/site-packages/debtcollector/moves.pyt_moved_decorators$csµtjˆƒ}|t7}dj||gƒ}	|	t7}	t|	|f}
tj|
d|d|d|ƒ‰tjˆdtjˆƒƒ‡‡‡‡fd†ƒ}||_	||_
|S(sùDeprecates a function that was moved to another location.

    This generates a wrapper around ``new_func`` that will emit a deprecation
    warning when called. The warning message will include the new location
    to obtain the function from.
    RRRRtassignedcs&tjˆdˆdˆƒˆ||ŽS(NRR(RR
(RR(Rtnew_funcRR(sH/home/tvault/.virtenv/lib/python2.7/site-packages/debtcollector/moves.pytold_new_funcOs(Rtget_callable_namet_MOVED_CALLABLE_POSTFIXR
t_FUNC_MOVED_PREFIX_TPLRtsixtwrapstget_assignedt__name__t
__module__(R"t
old_func_nametold_module_nameRRRRRtnew_func_full_nametold_func_full_nameRR#((RR"RRsH/home/tvault/.virtenv/lib/python2.7/site-packages/debtcollector/moves.pytmoved_function=s	

	6		tmoved_read_only_propertycBs,eZdZddddd„Zd„ZRS(säDescriptor for read-only properties moved to another location.

    This works like the ``@property`` descriptor but can be used instead to
    provide the same functionality and also interact with the :mod:`warnings`
    module to warn when a property is accessed, so that users of those
    properties can know that a previously read-only property at a prior
    location/name has moved to another location/name.

    :param old_name: old attribute location/name
    :param new_name: new attribute location/name
    :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 when reporting the
                       deprecation call (the default being 3)
    :param category: the :mod:`warnings` category to use, defaults to
                     :py:class:`DeprecationWarning` if not provided
    icCsV||_||_tjd|j|jfd|d|ƒ|_||_||_dS(Ns)Read-only property '%s' has moved to '%s'RR(t	_old_namet	_new_nameRRt_messaget_stacklevelt	_category(tselfRRRRRR((sH/home/tvault/.virtenv/lib/python2.7/site-packages/debtcollector/moves.pyt__init__rs			cCsMtj|jd|jd|jƒ|dk	r7|}n|}t||jƒS(NRR(RR
R4R5R6tNonetgetattrR3(R7Rtownert
real_owner((sH/home/tvault/.virtenv/lib/python2.7/site-packages/debtcollector/moves.pyt__get__~s	
	N(R*R+t__doc__R9R8R=(((sH/home/tvault/.virtenv/lib/python2.7/site-packages/debtcollector/moves.pyR1Zs
cCsM|jtƒs|t7}ntd|d|d|d|d|dtd|ƒS(sBDecorates an *instance* method that was moved to another location.tMethodRRRRRR(tendswithR%R (tnew_method_nameRRRRR((sH/home/tvault/.virtenv/lib/python2.7/site-packages/debtcollector/moves.pytmoved_method‹s
c
Cs+td|d|d|d|d|d|ƒS(sDDecorates an *instance* property that was moved to another location.tPropertyRRRRR(R (RRRRRR((sH/home/tvault/.virtenv/lib/python2.7/site-packages/debtcollector/moves.pytmoved_property˜scsÛtj|ƒs=tjt|ƒƒ\}}	td|	ƒ‚ndj||fƒ}
tj|ƒ}t|
|f}tj	|d|d|d|ƒ‰‡‡‡fd†}
t||fiƒ}||_
|
|jƒ|_|S(s;Deprecates a class that was moved to another location.

    This creates a 'new-old' type that can be used for a
    deprecation period that can be inherited from. This will emit warnings
    when the old locations class is initialized, telling where the new and
    improved location for the old class now is.
    s5Unexpected class type '%s' (expected class type only)RRRRcs:tjˆdtjˆƒƒ‡‡‡‡fd†ƒ}|S(NR!cs)tjˆdˆdˆƒˆ|||ŽS(NRR(RR
(R7RR(RRRR(sH/home/tvault/.virtenv/lib/python2.7/site-packages/debtcollector/moves.pyRºs(R'R(RR)(RR(RRR(RsH/home/tvault/.virtenv/lib/python2.7/site-packages/debtcollector/moves.pyR¸s6(tinspecttisclassRRttypet	TypeErrorR
Rt_CLASS_MOVED_PREFIX_TPLRR+R8(t	new_classtold_class_nameR-RRRRRt_qualt	type_nameRRRRt	old_class((RRRsH/home/tvault/.virtenv/lib/python2.7/site-packages/debtcollector/moves.pytmoved_class¡s
	
	(RER'Rt
debtcollectorRRRIR%R&R9R R0tobjectR1RBRDRO(((sH/home/tvault/.virtenv/lib/python2.7/site-packages/debtcollector/moves.pyt<module>s*		1