[Bps-public-commit] r16066 - in Prophet/branches/dispatcher: lib/Prophet

sartak at bestpractical.com sartak at bestpractical.com
Thu Sep 25 15:40:45 EDT 2008


Author: sartak
Date: Thu Sep 25 15:40:44 2008
New Revision: 16066

Modified:
   Prophet/branches/dispatcher/   (props changed)
   Prophet/branches/dispatcher/lib/Prophet/CLI.pm

Log:
 r72471 at onn:  sartak | 2008-09-25 15:36:58 -0400
 The context has args/props not the CLI


Modified: Prophet/branches/dispatcher/lib/Prophet/CLI.pm
==============================================================================
--- Prophet/branches/dispatcher/lib/Prophet/CLI.pm	(original)
+++ Prophet/branches/dispatcher/lib/Prophet/CLI.pm	Thu Sep 25 15:40:44 2008
@@ -220,12 +220,12 @@
 
     my %props;
     if ($defaults) {
-        %props = (%{ $defaults }, %{ $self->props });
+        %props = (%{ $defaults }, %{ $self->context->props });
     } else {
-        %props = %{$self->props};
+        %props = %{$self->context->props};
     }
 
-    if ($self->has_arg($arg)) {
+    if ($self->context->has_arg($arg)) {
         return $self->edit_hash(hash => \%props, ordering => $args{'ordering'});
     }
 



More information about the Bps-public-commit mailing list