Projet

Général

Profil

0001-python3-make-the-exp-retry-timeout-seconds_to_wait-r.patch

Paul Marillonnet, 25 mars 2019 18:28

Télécharger (876 octets)

Voir les différences:

Subject: [PATCH] python3: make the exp retry timeout 'seconds_to_wait' return
 an int (#31166)

 src/authentic2/exponential_retry_timeout.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/authentic2/exponential_retry_timeout.py
36 36
        '''
37 37
        key = self.key(keys)
38 38
        if not self.duration:
39
            return
39
            return 0
40 40
        now = time.time()
41 41
        what = cache.get(key)
42 42
        if what and what[1] > now:
43
-