[Bps-public-commit] SD branch, master, updated. 51a4c8f634892f633fced404cb389f48406cde22

sunnavy at bestpractical.com sunnavy at bestpractical.com
Fri May 15 00:12:40 EDT 2009


The branch, master has been updated
       via  51a4c8f634892f633fced404cb389f48406cde22 (commit)
      from  6a5853eec7b9eee0ff219cc6e9df0786d37434bd (commit)

Summary of changes:
 lib/App/SD/Replica/gcode/PullEncoder.pm |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit 51a4c8f634892f633fced404cb389f48406cde22
Author: sunnavy <sunnavy at gmail.com>
Date:   Fri May 15 12:12:28 2009 +0800

    no ->ids in gcode Search.pm, use ->results instead

diff --git a/lib/App/SD/Replica/gcode/PullEncoder.pm b/lib/App/SD/Replica/gcode/PullEncoder.pm
index a0e0069..5b14902 100644
--- a/lib/App/SD/Replica/gcode/PullEncoder.pm
+++ b/lib/App/SD/Replica/gcode/PullEncoder.pm
@@ -122,8 +122,7 @@ sub find_matching_tickets {
     require Net::Google::Code::Issue::Search;
     my $search = Net::Google::Code::Issue::Search->new( project =>  $self->sync_source->project, limit => 9999 );
     $search->search();
-    my @ids = @{$search->ids};
-    my @results;
+    my @results = @{$search->results};
     foreach my $item (@results) {
         my $t = $self->sync_source->ticket->load($item);
         if (!$last_changeset_seen_dt || ($t->last_modified >= $last_changeset_seen_dt)) {

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list