[padb-devel] [padb] r138 committed - Remove the dump-raw option as it's not widely used and superceeded...

codesite-noreply at google.com codesite-noreply at google.com
Sun Aug 23 12:17:15 BST 2009


Revision: 138
Author: apittman
Date: Sun Aug 23 04:16:23 2009
Log: Remove the dump-raw option as it's not widely used and superceeded
by the --debug code.

http://code.google.com/p/padb/source/detail?r=138

Modified:
  /trunk/src/padb

=======================================
--- /trunk/src/padb	Sun Aug 23 04:04:28 2009
+++ /trunk/src/padb	Sun Aug 23 04:16:23 2009
@@ -381,7 +381,6 @@

  # Debug options.
  $conf{verbose}  = 0;
-$conf{dump_raw} = 0;

  # Valid values are "none" "missing" or "all".  Anything not recognised
  # is treated as "all".
@@ -1459,8 +1458,6 @@
  sub read_stats {
      my @data = @_;

-    printf Dumper \@data if $conf{dump_raw};
-
      my $header = parse_header( shift @data );

      return undef unless $header;
@@ -1472,8 +1469,6 @@
              push( @out, $parsed );
          }
      }
-
-    printf Dumper \@out if $conf{dump_raw};

      return \@out;
  }
@@ -3000,8 +2995,6 @@
  sub show_results {
      my ( $nlines, $mode, $handle ) = @_;

-    printf Dumper $nlines if $conf{dump_raw};
-
      my $lines = $nlines->{lines};

      if ( defined $allfns{$mode}{out_handler} ) {




More information about the padb-devel mailing list