Bug 33270: (QA follow-up) Tidy
Resolve: WARN tidiness The file is less tidy than before (bad/messy lines before: 21, now: 24) Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
ea1a282b5e
commit
b3aba2b065
1 changed files with 3 additions and 3 deletions
|
@ -148,7 +148,7 @@ Will return undef if the record cannot be built
|
|||
|
||||
sub record_strip_nonxml {
|
||||
|
||||
my ($self, $params) = @_;
|
||||
my ( $self, $params ) = @_;
|
||||
|
||||
my $record;
|
||||
my $marcxml_error;
|
||||
|
@ -159,7 +159,7 @@ sub record_strip_nonxml {
|
|||
$self->schema
|
||||
);
|
||||
};
|
||||
if( $@ ){
|
||||
if ($@) {
|
||||
$marcxml_error = $@;
|
||||
chomp $marcxml_error;
|
||||
warn $marcxml_error;
|
||||
|
@ -167,7 +167,7 @@ sub record_strip_nonxml {
|
|||
}
|
||||
|
||||
$params->{record} = $record;
|
||||
return $self->record( $params );
|
||||
return $self->record($params);
|
||||
}
|
||||
|
||||
=head2 Internal methods
|
||||
|
|
Loading…
Reference in a new issue