diff --git a/lib/rbpkg.rb b/lib/rbpkg.rb
index ae1f0ac..2988cd0 100644
--- a/lib/rbpkg.rb
+++ b/lib/rbpkg.rb
@@ -117,6 +117,7 @@ EOF
log = {}
Dir.chdir("#{Rbpkg.ci_dir}/log") do
Dir["*/*"].each do |d|
+ puts "ci_mux_log_hosts d=#{d.inspect}"
if File.directory?(d)
Dir.chdir(d) do
Dir["*/*.log"].each do |subdir_file|
@@ -135,9 +136,7 @@ EOF
log_item = {log: "#{d}/#{subdir_file}",
html: html,
status: status[name][d_name]}
- if ! log[name]
- log[name] = {}
- end
+ log[name] = {} unless log[name]
log[name][d_name] = log_item
end
end