From 2e153c8c219878a69130e4735f762a2ff60c04c8 Mon Sep 17 00:00:00 2001 From: Robert Buels Date: Wed, 27 Oct 2010 00:54:32 -0700 Subject: [PATCH] whitespace cleanup --- db/ImageAddMD5sum.pm | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/db/ImageAddMD5sum.pm b/db/ImageAddMD5sum.pm index 5fe42b0b3..999dbe240 100644 --- a/db/ImageAddMD5sum.pm +++ b/db/ImageAddMD5sum.pm @@ -5,16 +5,16 @@ =head1 SYNOPSIS mx-run ImageAddMD5sum [options] -H hostname -D dbname -u username [-F] - + this is a subclass of L see the perldoc of parent class for more details. - + =head1 DESCRIPTION Adds a md5sum field to the metadata.md_image table. This subclass uses L. The parent class uses L - + =head1 AUTHOR Lukas Mueller @@ -41,39 +41,39 @@ sub init_patch { my $name = __PACKAGE__; print "dbpatch name is ':" . $name . "\n\n"; my $description = 'Testing a Moose dbpatch'; - my @previous_requested_patches = (); #ADD HERE - + my @previous_requested_patches = (); #ADD HERE + $self->name($name); $self->description("Adds a md5sum field to the metadata.md_image table"); $self->prereq(\@previous_requested_patches); - + } sub patch { my $self=shift; - - + + print STDOUT "Executing the patch:\n " . $self->name . ".\n\nDescription:\n ". $self->description . ".\n\nExecuted by:\n " . $self->username . " ."; - + print STDOUT "\nChecking if this db_patch was executed before or if previous db_patches have been executed.\n"; - + print STDOUT "\nExecuting the SQL commands.\n"; - - $self->dbh->do(<dbh->do(<