[SCM] ci-tooling packaging branch, master, updated. 17644295a370f7f23ed21c55f47161559550910e
Harald Sitter
apachelogger-guest at moszumanska.debian.org
Thu Mar 19 15:42:56 UTC 2015
Gitweb-URL: http://git.debian.org/?p=pkg-kde/ci-tooling.git;a=commitdiff;h=1764429
The following commit has been merged in the master branch:
commit 17644295a370f7f23ed21c55f47161559550910e
Author: Harald Sitter <sitter at kde.org>
Date: Thu Mar 19 16:42:51 2015 +0100
fix expunge multiopt
||='s right hand side would only evaluate if the left hand is falsey
---
kci/expunge.rb | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/kci/expunge.rb b/kci/expunge.rb
index a58d567..e76805c 100755
--- a/kci/expunge.rb
+++ b/kci/expunge.rb
@@ -25,12 +25,14 @@ OptionParser.new do |opts|
end
opts.on('--type [TYPE]', TYPES, 'Choose type to expunge (or multiple)') do |v|
- options.types ||= [] << v.to_s
+ options.types ||= []
+ options.types << v.to_s
end
opts.on('--dist [DIST]', DISTRIBUTIONS.map(&:to_sym),
'Choose series to expunge (or multiple)') do |v|
- options.dists ||= [] << v.to_s
+ options.dists ||= []
+ options.dists << v.to_s
end
end.parse!
--
ci-tooling packaging
More information about the pkg-kde-commits
mailing list