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

Rohan Garg rohangarg-guest at moszumanska.debian.org
Wed Dec 17 22:25:15 UTC 2014


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

The following commit has been merged in the master branch:
commit a02df97e9108aeeb135979d1829369905cb986c0
Author: Rohan Garg <rohan at kde.org>
Date:   Wed Dec 17 23:25:06 2014 +0100

    Make sure logger is a global var
---
 dci/source.rb | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/dci/source.rb b/dci/source.rb
index bae7de3..525dc54 100644
--- a/dci/source.rb
+++ b/dci/source.rb
@@ -1,6 +1,5 @@
 require 'date'
 require 'fileutils'
-require 'logger'
 require 'optparse'
 require 'json'
 require_relative '../lib/debian/changelog'
@@ -29,7 +28,7 @@ raise "Release is not optional!" unless options[:release]
 
 $logger = new_logger
 
-logger.debug("Arguments passed were #{ARGV}")
+$logger.debug("Arguments passed were #{ARGV}")
 
 def run_cmd(cmd)
     retry_count = 0
@@ -149,4 +148,4 @@ Dir.chdir(ARGV[1]) do
     system('chmod 2770 /build') unless File.stat('/build').setgid?
 end
 
-logger.close
+$logger.close

-- 
ci-tooling packaging



More information about the pkg-kde-commits mailing list