Project

General

Profile

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

Paul Marillonnet, 02 Apr 2019 06:31 PM

Download (876 Bytes)

View differences:

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
37 37
        '''
38 38
        key = self.key(keys)
39 39
        if not self.duration:
40
            return
40
            return 0
41 41
        now = time.time()
42 42
        what = cache.get(key)
43 43
        if what and what[1] > now:
44
-