-=[ Mr. Bumblebee ]=-
_Indonesia_

Path : /usr/lib/python2.7/dist-packages/bzrlib/
File Upload :
Current File : //usr/lib/python2.7/dist-packages/bzrlib/recordcounter.pyc

ó
î:ïNc@@s0dZddlmZdefd„ƒYZdS(s?Record counting support for showing progress of revision fetch.i(tabsolute_importt
RecordCountercB@s>eZdZd„Zd„Zd„Zdd„Zd„ZRS(süContainer for maintains estimates of work requires for fetch.

    Instance of this class is used along with a progress bar to provide
    the user an estimate of the amount of work pending for a fetch (push,
    pull, branch, checkout) operation.
    cC@s1t|_d|_d|_d|_d|_dS(Nii(tFalsetinitializedtcurrentt	key_counttmaxtSTEP(tself((s8/usr/lib/python2.7/dist-packages/bzrlib/recordcounter.pyt__init__s
				cC@s|jS(N(R(R((s8/usr/lib/python2.7/dist-packages/bzrlib/recordcounter.pytis_initialized*scC@st|dƒS(scEstimate the maximum amount of 'inserting stream' work.

        This is just an estimate.
        gš™™™™™$@(tint(RR((s8/usr/lib/python2.7/dist-packages/bzrlib/recordcounter.pyt
_estimate_max-sicC@s1||_||_|j|ƒ|_t|_dS(s¥Setup RecordCounter with basic estimate of work pending.

        Setup self.max and self.current to reflect the amount of work
        pending for a fetch.
        N(RRRRtTrueR(RRR((s8/usr/lib/python2.7/dist-packages/bzrlib/recordcounter.pytsetupEs		cC@s:|j|7_|j|jkr6|j|j7_ndS(s“Increment self.current by count.

        Apart from incrementing self.current by count, also ensure
        that self.max > self.current.
        N(RRR(Rtcount((s8/usr/lib/python2.7/dist-packages/bzrlib/recordcounter.pyt	incrementPs(t__name__t
__module__t__doc__R	R
RRR(((s8/usr/lib/python2.7/dist-packages/bzrlib/recordcounter.pyRs	
		N(Rt
__future__RtobjectR(((s8/usr/lib/python2.7/dist-packages/bzrlib/recordcounter.pyt<module>s

Copyright © 2017 || Recoded By Mr.Bumblebee