/usr/lib/python2.6/site-packages/debtcollector
NameSizeModeActions
fixtures/-0755rm
tests/-0755rm
moves.py47270644editdlrm
moves.pyc42720644editdlrm
removals.py67310644editdlrm
removals.pyc52400644editdlrm
renames.py16560644editdlrm
renames.pyc14740644editdlrm
updating.py23890644editdlrm
updating.pyc19940644editdlrm
_utils.py59440644editdlrm
_utils.pyc47870644editdlrm
__init__.py22250644editdlrm
__init__.pyc18460644editdlrm
Edit: /usr/lib/python2.6/site-packages/debtcollector/removals.pyc (5240B)
Ņō }DVc @s›ddkZddkZddkZddkZddklZd„Zddddddd„Zdddddd„Z ddddddd„Z dS(iĸĸĸĸN(t_utilscCsti|ƒdS(Ni(Rtget_qualified_name(tmod((s=/tmp/pip-build-lt8jXN/debtcollector/debtcollector/removals.pyt_get_module_namesic sg|djo,titdˆdˆdˆdˆdˆƒSti‡‡‡‡‡fd†ƒ}||ƒS(sĄDecorates a function, method, or class to emit a deprecation warning :param str message: A message to include in the deprecation warning :param str version: Specify what version the removed function is present in :param str removal_version: What version the function will be removed. If '?' is used this implies an undefined future version :param int stacklevel: How many entries deep in the call stack before ignoring :param type category: warnings message category (this defaults to ``DeprecationWarning`` when none is provided) tmessagetversiontremoval_versiont stackleveltcategoryc sÐti|ƒ\}}|o0ti|ƒod}d}qLd}d}n|p d}d}|djoŊti|ƒo`d}d}tti|ƒƒ} | djoti|dtƒ}qti|dt ƒ}q6d}tti|ƒƒ} | djoti |ƒ}q6nd}ti|dtƒ}|odi ||gƒ} qf|} n|} |o| |7} n|d| } ti | d ˆd ˆd ˆƒ} ti | d ˆd ˆƒ|||ŽS(Ns Using classtsUsing function/methods()t__main__tfully_qualifiedt.s '%s' is deprecatedRRRRR(RRtinspecttisclasstNoneRt getmoduletget_class_nametFalsetTruetget_callable_nametjointgenerate_messaget deprecation( tftinstancetargstkwargst qualifiedtf_namet prefix_pret thing_postt base_namet module_namet thing_nametprefixt out_message(RRRRR(s=/tmp/pip-build-lt8jXN/debtcollector/debtcollector/removals.pytwrapper1sT           N(Rt functoolstpartialtremovetwraptt decorator(RRRRRRR%((RRRRRs=/tmp/pip-build-lt8jXN/debtcollector/debtcollector/removals.pyR(s $5c sVdˆ}ti|ddd|d|d|ƒ‰ti‡‡‡‡fd†ƒ}|S(sBDecorates a kwarg accepting function to deprecate a removed kwarg.s%Using the '%s' argument is deprecatedtpostfixRRRcs7ˆ|jotiˆdˆdˆƒn|||ŽS(NRR(RR(RRRR(RRR$told_name(s=/tmp/pip-build-lt8jXN/debtcollector/debtcollector/removals.pyR%ss  N(RRRR)R*(R,RRRRRR#R%((RRR,R$s=/tmp/pip-build-lt8jXN/debtcollector/debtcollector/removals.pyt removed_kwargis   !c CsŅti|ƒot|ƒ}nIt|tiƒo |}n,tit|ƒƒ\}} t d| ƒ‚d|} |od|} nd } ti | d| d|d|d|ƒ} ti | d|d |ƒd S( s6Helper to be called inside a module to emit a deprecation warning :param str replacment: A location (or information about) of any potential replacement for the removed module (if applicable) :param str message: A message to include in the deprecation warning :param str version: Specify what version the removed module is present in :param str removal_version: What version the module will be removed. If '?' is used this implies an undefined future version :param int stacklevel: How many entries deep in the call stack before ignoring :param type category: warnings message category (this defaults to ``DeprecationWarning`` when none is provided) sAUnexpected module type '%s' (expected string or module type only)s#The '%s' module usage is deprecateds, please use %s insteadR+RRRRRN( R tismoduleRt isinstancetsixt string_typesRRttypet TypeErrorRRR( tmodulet replacementRRRRRR!t_qualt type_nameR#R+R$((s=/tmp/pip-build-lt8jXN/debtcollector/debtcollector/removals.pytremoved_module}s"       ( R&R R0R)t debtcollectorRRRR(R-R8(((s=/tmp/pip-build-lt8jXN/debtcollector/debtcollector/removals.pyts      L