[SCM] ci-tooling packaging branch, master, updated. fb37a28cfea18c912cdc54050918ce5d4a74bbed
Harald Sitter
apachelogger-guest at moszumanska.debian.org
Wed Aug 19 08:11:40 UTC 2015
Gitweb-URL: http://git.debian.org/?p=pkg-kde/ci-tooling.git;a=commitdiff;h=fb37a28
The following commit has been merged in the master branch:
commit fb37a28cfea18c912cdc54050918ce5d4a74bbed
Author: Harald Sitter <sitter at kde.org>
Date: Wed Aug 19 10:11:36 2015 +0200
style++
---
lib/lp.rb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/lp.rb b/lib/lp.rb
index 7f83664..50b74aa 100644
--- a/lib/lp.rb
+++ b/lib/lp.rb
@@ -131,7 +131,9 @@ module Launchpad
# a URI, so simply give it a string...
Retry.retry_it(times: 2, errors: OpenSSL::SSL::SSLError, sleep: 8) do
response = token.get(uri.to_s)
- fail Net::HTTPRetriableError.new(response.body, response) unless response.is_a? Net::HTTPSuccess
+ unless response.is_a? Net::HTTPSuccess
+ fail Net::HTTPRetriableError.new(response.body, response)
+ end
return response.body
end
end
--
ci-tooling packaging
More information about the pkg-kde-commits
mailing list