Changeset 24349

Show
Ignore:
Timestamp:
29.07.2011 13:14:05 (8 years ago)
Author:
davidb
Message:

white-space changes

Location:
main/trunk/greenstone2/perllib/plugins
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/plugins/DirectoryPlugin.pm

    r23561 r24349  
    142142    my $self = shift (@_); 
    143143    my ($pluginfo, $base_dir, $processor, $maxdocs) = @_; 
    144  
    145144} 
    146145 
     
    373372    my $outhandle = $self->{'outhandle'}; 
    374373    my $verbosity = $self->{'verbosity'}; 
    375      
     374 
    376375    # Calculate the directory name and ensure it is a directory and 
    377376    # that it is not explicitly blocked. 
  • main/trunk/greenstone2/perllib/plugins/EmbeddedMetadataPlugin.pm

    r24290 r24349  
    265265sub metadata_read() 
    266266{ 
    267     my $self = shift (@_); 
    268     my ($pluginfo, $base_dir, $file, $block_hash,  
    269         $extrametakeys, $extrametadata, $extrametafile, 
    270         $processor, $gli, $aux) = @_; 
    271    
    272     my ($filename_full_path, $filename_no_path) = &util::get_full_filenames($base_dir, $file); 
    273    
    274     # we don't want to process directories 
    275     if (!-f $filename_full_path || !$self->can_process_this_file($filename_full_path)) { 
    276         return undef; 
    277     } 
    278     print STDERR "\n<Processing n='$file' p='EmbeddedMetadataPlugin'>\n" if ($gli); 
    279     print STDERR "EmbeddedMetadataPlugin: processing $file\n" if ($self->{'verbosity'}) > 1; 
    280  
    281     $self->extractEmbeddedMetadata($filename_no_path,$filename_full_path, 
    282         $extrametadata,$extrametakeys); 
    283  
     267    my $self = shift (@_); 
     268    my ($pluginfo, $base_dir, $file, $block_hash,  
     269    $extrametakeys, $extrametadata, $extrametafile, 
     270    $processor, $gli, $aux) = @_; 
     271  
     272    my ($filename_full_path, $filename_no_path) = &util::get_full_filenames($base_dir, $file); 
     273     
     274    # we don't want to process directories 
     275    if (!-f $filename_full_path || !$self->can_process_this_file($filename_full_path)) { 
    284276    return undef; 
     277    } 
     278    print STDERR "\n<Processing n='$file' p='EmbeddedMetadataPlugin'>\n" if ($gli); 
     279    print STDERR "EmbeddedMetadataPlugin: processing $file\n" if ($self->{'verbosity'}) > 1; 
     280     
     281    $self->extractEmbeddedMetadata($filename_no_path,$filename_full_path, 
     282                   $extrametadata,$extrametakeys); 
     283     
     284    return undef; 
    285285} 
    286286