[SCM] ci-tooling packaging branch, master, updated. 41d73b9cf69f771e71a4b1961cad43584b0d5c2d

Harald Sitter apachelogger-guest at moszumanska.debian.org
Wed Aug 19 08:13:57 UTC 2015


Gitweb-URL: http://git.debian.org/?p=pkg-kde/ci-tooling.git;a=commitdiff;h=0e21944

The following commit has been merged in the master branch:
commit 0e21944c5887c9f81e4995c28bc8def6262b4c44
Author: Harald Sitter <sitter at kde.org>
Date:   Wed Aug 19 10:13:04 2015 +0200

    [lp] catch all standard errors for retry
    
    a second look revealed that there's more than one exception that can fail
---
 lib/lp.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/lp.rb b/lib/lp.rb
index 50b74aa..ba5fb56 100644
--- a/lib/lp.rb
+++ b/lib/lp.rb
@@ -129,7 +129,7 @@ module Launchpad
       if token
         # Token internally URIfies again without checking if it already has
         # a URI, so simply give it a string...
-        Retry.retry_it(times: 2, errors: OpenSSL::SSL::SSLError, sleep: 8) do
+        Retry.retry_it(times: 2, sleep: 8) do
           response = token.get(uri.to_s)
           unless response.is_a? Net::HTTPSuccess
             fail Net::HTTPRetriableError.new(response.body, response)

-- 
ci-tooling packaging



More information about the pkg-kde-commits mailing list