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

sartak at bestpractical.com sartak at bestpractical.com
Wed Jul 16 00:05:31 EDT 2008


Author: sartak
Date: Wed Jul 16 00:05:29 2008
New Revision: 14141

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

Log:
 r64348 at onn:  sartak | 2008-07-15 23:55:42 -0400
 Don't spew YAML at the user, just let them know there's an update consistency problem


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 Jul 16 00:05:29 2008
@@ -243,7 +243,7 @@
         $args{'ticket'}->{ $args{txn}->{Field} } = $args{txn}->{'OldValue'};
     } else {
         $args{'ticket'}->{ $args{txn}->{Field} } = $args{txn}->{'OldValue'};
-        warn $args{'ticket'}->{ $args{txn}->{Field} } . " != " . $args{txn}->{'NewValue'} . "\n\n" . YAML::Dump( \%args ); use YAML;
+        warn "Update consistency problem: " . $args{'ticket'}->{ $args{txn}->{Field} } . " != " . $args{txn}->{'NewValue'};
     }
     $change->add_prop_change(
         name => $args{txn}->{'Field'},



More information about the Bps-public-commit mailing list