Explorar o código

rename create_html to create_output

Morten Brix Pedersen %!s(int64=23) %!d(string=hai) anos
pai
achega
0bcdb1b59f
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      modules/Pisg.pm
  2. 1 1
      modules/Pisg/HTMLGenerator.pm

+ 1 - 1
modules/Pisg.pm

@@ -512,7 +512,7 @@ _END
 
         # Create our HTML page if the logfile has any data.
         if (defined $stats and $stats->{parsedlines} > 0) {
-            $generator->create_html();
+            $generator->create_output();
         } elsif ($stats->{parsedlines} == 0) {
             print STDERR "No parseable lines found in logfile ($stats->{totallines} total lines). Skipping.\nYou might be using the wrong format.\n";
         }

+ 1 - 1
modules/Pisg/HTMLGenerator.pm

@@ -26,7 +26,7 @@ sub new
     return $self;
 }
 
-sub create_html
+sub create_output
 {
     # This subroutine calls all the subroutines which create their
     # individual stats. The name of the functions is somewhat saying - if