[Rt-commit] r2800 - in rt/branches/3.0-MAINT: . lib/RT

jesse at bestpractical.com jesse at bestpractical.com
Thu Apr 21 21:33:23 EDT 2005


Author: jesse
Date: Thu Apr 21 21:33:23 2005
New Revision: 2800

Modified:
   rt/branches/3.0-MAINT/   (props changed)
   rt/branches/3.0-MAINT/lib/RT/EmailParser.pm
Log:
 r14018 at hualien:  jesse | 2005-04-21 21:32:18 -0400
 * remove debugging statements


Modified: rt/branches/3.0-MAINT/lib/RT/EmailParser.pm
==============================================================================
--- rt/branches/3.0-MAINT/lib/RT/EmailParser.pm	(original)
+++ rt/branches/3.0-MAINT/lib/RT/EmailParser.pm	Thu Apr 21 21:33:23 2005
@@ -229,29 +229,19 @@
     my $file   = shift;
 
     # Create a new parser object:
-    warn "herE";
     my $parser = MIME::Parser->new();
     $self->_SetupMIMEParser($parser);
-    warn "here2";
     eval { $self->{'entity'} = $parser->$method($file); };
-    warn "here3";
     unless ( $self->{'entity'} ) {
-        warn "here4";
         # Try again, this time without extracting nested messages
         $parser->extract_nested_messages(0);
-        warn "here5";
         eval { $self->{'entity'} = $parser->$method($file); };
-        warn "here6";
         unless ( $self->{'entity'} ) {
-            warn "here7";
             $RT::Logger->crit("couldn't parse MIME stream");
             return (undef);
         }
-        warn "her8";
     }
-    warn "here9";
     $self->_PostProcessNewEntity();
-    warn "ehre10";
     return (1);
 }
 


More information about the Rt-commit mailing list