[Bps-public-commit] r15561 - in sd/trunk: .

sartak at bestpractical.com sartak at bestpractical.com
Wed Aug 27 15:06:43 EDT 2008


Author: sartak
Date: Wed Aug 27 15:06:38 2008
New Revision: 15561

Modified:
   sd/trunk/   (props changed)
   sd/trunk/lib/App/SD/Replica/rt/PullEncoder.pm

Log:
 r70599 at onn:  sartak | 2008-08-27 15:06:20 -0400
 Let the user know that no tickets were found, since they may have typo'd the query or something


Modified: sd/trunk/lib/App/SD/Replica/rt/PullEncoder.pm
==============================================================================
--- sd/trunk/lib/App/SD/Replica/rt/PullEncoder.pm	(original)
+++ sd/trunk/lib/App/SD/Replica/rt/PullEncoder.pm	Wed Aug 27 15:06:38 2008
@@ -25,6 +25,9 @@
     my @transactions;
 
     my @tickets =  $self->find_matching_tickets( $args{'query'} ); 
+
+    $self->sync_source->log("No tickets found.") if @tickets == 0;
+
     my $counter = 0;
     for my $id ( @tickets) {
         $counter++;



More information about the Bps-public-commit mailing list