summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2020-04-14 20:29:53 +0000
committerPascal Terjan <pterjan@mageia.org>2020-04-14 20:29:53 +0000
commit9559df13f7e4da55c1bf6c9873924aa4e1a5960b (patch)
tree4ec37a3809496d149eb5a92d70df6a95bd7286b0
parenta1e9c356131835a464cd2a5b81ed5fb2b0bbad8b (diff)
downloadautobuild-9559df13f7e4da55c1bf6c9873924aa4e1a5960b.tar
autobuild-9559df13f7e4da55c1bf6c9873924aa4e1a5960b.tar.gz
autobuild-9559df13f7e4da55c1bf6c9873924aa4e1a5960b.tar.bz2
autobuild-9559df13f7e4da55c1bf6c9873924aa4e1a5960b.tar.xz
autobuild-9559df13f7e4da55c1bf6c9873924aa4e1a5960b.zip
Fix an accidental change few commits ago
-rwxr-xr-xautobuild.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/autobuild.rb b/autobuild.rb
index 222fb66..89a98bf 100755
--- a/autobuild.rb
+++ b/autobuild.rb
@@ -191,7 +191,7 @@ def insert_run(db, status_file)
result_id = get_or_add_resultvalue(db, result)
package_id = get_or_add_package(db, name, version, release)
begin
- next db.execute "INSERT INTO Results(Package, Run, Result) VALUES(#{package_id}, #{run_id}, #{result_id})"
+ db.execute "INSERT INTO Results(Package, Run, Result) VALUES(#{package_id}, #{run_id}, #{result_id})"
rescue Exception => e
puts name
end