[SCM] ci-tooling packaging branch, master, updated. 35277096009b100c57e0ab254be94b0a2e2756f2

Harald Sitter apachelogger-guest at moszumanska.debian.org
Mon Dec 7 12:57:51 UTC 2015


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

The following commit has been merged in the master branch:
commit b29bd9b3d51b0df279c113c35f318fe989ae40ec
Author: Harald Sitter <sitter at kde.org>
Date:   Mon Dec 7 13:45:25 2015 +0100

    dry token reading
---
 lib/lp.rb | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/lib/lp.rb b/lib/lp.rb
index 8449f3e..38ecb95 100644
--- a/lib/lp.rb
+++ b/lib/lp.rb
@@ -109,10 +109,7 @@ module Launchpad
       File.write(conf, JSON.fast_generate(token_hash))
     end
 
-    site_options = { scheme: :header, site: 'https://api.launchpad.net' }
-    consumer = OAuth::Consumer.new('kubuntu-ci', '',
-                                   consumer_options.merge(site_options))
-    @token = OAuth::AccessToken.from_hash(consumer, token_hash)
+    token
   end
 
   # HTTP GET. Possibly via token.

-- 
ci-tooling packaging



More information about the pkg-kde-commits mailing list