MINI SHELL

Server : Apache/2.2.2 (Fedora)
System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686
User : apache ( 48)
PHP Version : 5.2.9
Disable Function : NONE
Directory :  /proc/self/root/proc/self/root/usr/lib/python2.4/bsddb/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/proc/self/root/usr/lib/python2.4/bsddb/dbutils.pyc
mò
Ñ=Ec@s9dklZdkZddZdZdZd„ZdS((ssleepNf1.0i@f3.1415899999999999cOsÎt}|iddƒ}|idƒo|d=nx”y|||ŽSWq6ti	j
olt
ot
id|ƒnt|ƒ|d9}|t
jo
t
}n|d8}|djo‚qÅq6Xq6WdS(s?DeadlockWrap(function, *_args, **_kwargs) - automatically retries
    function in case of a database deadlock.

    This is a function intended to be used to wrap database calls such
    that they perform retrys with exponentially backing off sleeps in
    between when a DBLockDeadlockError exception is raised.

    A 'max_retries' parameter may optionally be passed to prevent it
    from retrying forever (in which case the exception will be reraised).

        d = DB(...)
        d.open(...)
        DeadlockWrap(d.put, "foo", data="bar")  # set key "foo" to "bar"
    tmax_retriesiÿÿÿÿis%dbutils.DeadlockWrap: sleeping %1.3f
iN(t_deadlock_MinSleepTimet	sleeptimet_kwargstgetRthas_keytfunctiont_argstdbtDBLockDeadlockErrort_deadlock_VerboseFiletwritet_sleept_deadlock_MaxSleepTime(RRRRR((t#/usr/lib/python2.4/bsddb/dbutils.pytDeadlockWrap)s&





(	ttimetsleepRRRR
tNoneR
R(RRR
RRR
((Rt?s

	


Anon7 - 2021