/[Grep]/bin/import.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /bin/import.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 155 by dpavlin, Sun Jun 10 19:20:59 2007 UTC revision 157 by dpavlin, Sun Jun 10 19:56:21 2007 UTC
# Line 29  foreach my $importer ( @importers ) { Line 29  foreach my $importer ( @importers ) {
29    
30                  my $stats = $importer->import( $search );                  my $stats = $importer->import( $search );
31    
32                  Jifty->log->info(                  Jifty->log->info( join(" ",
33                          ( $stats->{new} ? $stats->{new} . ' new' : '' ) .                          ( $stats->{new} ? $stats->{new} . ' new' : '' ),
34                          ( $stats->{old} ? $stats->{old} . ' old' : '' ) .                          ( $stats->{old} ? $stats->{old} . ' old' : '' ) . ' pages',
35                          ( $stats->{failure} ? ' with ' . $stats->{failure} . ' failures' : '' ) .                          ( $stats->{failure} ? 'with ' . $stats->{failure} . ' failures' : '' ),
36                          ' of total ' . $stats->{total} . ' pages with ' . $importer                          'of total ' . $stats->{total} . ' using ' . $importer,
37                  );                  ) );
38          } else {          } else {
39                  Jifty->log->error("importer $importer doesn't implement import");                  Jifty->log->error("importer $importer doesn't implement import");
40          }          }

Legend:
Removed from v.155  
changed lines
  Added in v.157

  ViewVC Help
Powered by ViewVC 1.1.26