aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wilmott <p@p8952.info>2015-06-22 19:59:01 +0000
committerPeter Wilmott <p@p8952.info>2015-06-22 19:59:01 +0000
commite32d2e515c97b39fc3766ada1486d42cb5fe8338 (patch)
treed0489155bc8e05b1418d88b614dfe218869c876c
parentFix most issues raised by linters, some python ones remain (diff)
downloadruby-tinderbox-e32d2e515c97b39fc3766ada1486d42cb5fe8338.tar.gz
ruby-tinderbox-e32d2e515c97b39fc3766ada1486d42cb5fe8338.tar.bz2
ruby-tinderbox-e32d2e515c97b39fc3766ada1486d42cb5fe8338.zip
Restore parallel database writes, removed earlier for debugging
-rw-r--r--web/lib/packages.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/packages.rb b/web/lib/packages.rb
index 8cad6d4..22e9259 100644
--- a/web/lib/packages.rb
+++ b/web/lib/packages.rb
@@ -9,7 +9,7 @@ def update_packages(ci_image)
packages_txt = ci_container.logs(stdout: true)
ci_container.delete
- packages_txt.lines.each do |line|
+ packages_txt.lines.peach do |line|
line = line.bytes.drop(8).pack('c*')
next if line.empty?
sha1, category, name, version, revision, slot, amd64_keyword, r19_target, r20_target, r21_target, r22_target = line.split(' ')