MOON
Server: Apache
System: Linux vps.thepromohut.com 2.6.18-398.el5 #1 SMP Tue Sep 16 20:51:48 EDT 2014 i686
User: caretrak (507)
PHP: 5.2.10
Disabled: NONE
Upload Files
File: //proc/self/root/usr/lib/python2.4/bsddb/dbutils.pyc
mò
‚=5Dc@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