[Bps-public-commit] r19762 - Net-Google-Code/trunk/lib/Net/Google/Code

sunnavy at bestpractical.com sunnavy at bestpractical.com
Tue May 26 23:01:50 EDT 2009


Author: sunnavy
Date: Tue May 26 23:01:49 2009
New Revision: 19762

Modified:
   Net-Google-Code/trunk/lib/Net/Google/Code/Issue.pm

Log:
fix the new added test: attachment not in comment 0 but in other comments

Modified: Net-Google-Code/trunk/lib/Net/Google/Code/Issue.pm
==============================================================================
--- Net-Google-Code/trunk/lib/Net/Google/Code/Issue.pm	(original)
+++ Net-Google-Code/trunk/lib/Net/Google/Code/Issue.pm	Tue May 26 23:01:49 2009
@@ -112,7 +112,7 @@
     $text =~ s/\r\n/\n/g;
     $self->description( $text );
 
-    my $att_tag = $tree->look_down( class => 'attachments' );
+    my $att_tag = $description->look_down( class => 'attachments' );
     my @attachments;
     @attachments =
       Net::Google::Code::Issue::Attachment->parse_attachments($att_tag)



More information about the Bps-public-commit mailing list