[Bps-public-commit] r14515 - in Prophet/trunk: . lib/Prophet/CLI/Command

sartak at bestpractical.com sartak at bestpractical.com
Fri Jul 25 07:04:18 EDT 2008


Author: sartak
Date: Fri Jul 25 07:04:17 2008
New Revision: 14515

Modified:
   Prophet/trunk/   (props changed)
   Prophet/trunk/lib/Prophet/CLI.pm
   Prophet/trunk/lib/Prophet/CLI/Command/Search.pm

Log:
 r65202 at onn:  sartak | 2008-07-25 06:37:01 -0400
 Rename the prop key from "name" to "prop"


Modified: Prophet/trunk/lib/Prophet/CLI.pm
==============================================================================
--- Prophet/trunk/lib/Prophet/CLI.pm	(original)
+++ Prophet/trunk/lib/Prophet/CLI.pm	Fri Jul 25 07:04:17 2008
@@ -223,7 +223,7 @@
 
         if ($sep == 1) {
             $self->add_to_prop_set({
-                name  => $name,
+                prop  => $name,
                 cmp   => $cmp,
                 value => $val,
             });

Modified: Prophet/trunk/lib/Prophet/CLI/Command/Search.pm
==============================================================================
--- Prophet/trunk/lib/Prophet/CLI/Command/Search.pm	(original)
+++ Prophet/trunk/lib/Prophet/CLI/Command/Search.pm	Fri Jul 25 07:04:17 2008
@@ -21,7 +21,7 @@
     } elsif (scalar $self->prop_names > 0) {
         my %prop_checks;
         for my $check ($self->prop_set) {
-            push @{ $prop_checks{ $check->{name} } }, $check;
+            push @{ $prop_checks{ $check->{prop} } }, $check;
         }
 
         return sub {



More information about the Bps-public-commit mailing list