[Bps-public-commit] r18287 - in Net-Google-Code/branches/write: .

sunnavy at bestpractical.com sunnavy at bestpractical.com
Mon Feb 9 02:27:11 EST 2009


Author: sunnavy
Date: Mon Feb  9 02:27:10 2009
New Revision: 18287

Modified:
   Net-Google-Code/branches/write/   (props changed)
   Net-Google-Code/branches/write/lib/Net/Google/Code/Issue.pm

Log:
 r19700 at sunnavys-mb:  sunnavy | 2009-02-09 15:26:55 +0800
 since label have multiple values, we need to set it seperately


Modified: Net-Google-Code/branches/write/lib/Net/Google/Code/Issue.pm
==============================================================================
--- Net-Google-Code/branches/write/lib/Net/Google/Code/Issue.pm	(original)
+++ Net-Google-Code/branches/write/lib/Net/Google/Code/Issue.pm	Mon Feb  9 02:27:10 2009
@@ -159,13 +159,12 @@
         $args{label} =
           [ map { $_ . '-' . $args{label}{$_} } keys %{ $args{label} } ];
     }
-
+    $self->mech->field( 'label', $args{label} );
     $self->mech->submit_form(
         fields => {
             map { $_ => $args{$_} }
               grep { exists $args{$_} }
-              qw/comment summary status owner merge_into cc label
-              blocked_on/
+              qw/comment summary status owner merge_into cc blocked_on/
         }
     );
 



More information about the Bps-public-commit mailing list