Commit 009a4ed2 authored by Francesc Guasch's avatar Francesc Guasch
Browse files

hide upgrading info in tests

parent 754b435c
......@@ -141,7 +141,7 @@ sub _update_isos {
$sth_search->execute($row->{$field});
my ($id) = $sth_search->fetchrow;
next if $id;
warn("INFO: updating $table : $row->{$field}\n") if $0 !~ /\t$/;
warn("INFO: updating $table : $row->{$field}\n") if $0 !~ /\.t$/;
my $sql =
"INSERT INTO iso_images "
......@@ -173,7 +173,7 @@ sub _upgrade_table {
$sth->finish;
return if $row;
warn "INFO: adding $field $definition to $table\n";
warn "INFO: adding $field $definition to $table\n" if $0 !~ /\.t$/;
$dbh->do("alter table $table add $field $definition");
return 1;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment