diff options
author | Peter Wilmott <p@p8952.info> | 2015-06-22 19:59:01 +0000 |
---|---|---|
committer | Peter Wilmott <p@p8952.info> | 2015-06-22 19:59:01 +0000 |
commit | e32d2e515c97b39fc3766ada1486d42cb5fe8338 (patch) | |
tree | d0489155bc8e05b1418d88b614dfe218869c876c | |
parent | Fix most issues raised by linters, some python ones remain (diff) | |
download | ruby-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.rb | 2 |
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(' ') |