[Bps-public-commit] Prophet branch, master, updated. 0.743-34-g396c778

Christine Spang spang at bestpractical.com
Sun Jan 2 19:44:52 EST 2011


The branch, master has been updated
       via  396c77809dc0575025404b1c8a96a71f7024424d (commit)
      from  23d21f7db47d3bbedb83394bc0173719fcea2547 (commit)

Summary of changes:
 lib/Prophet/CLI/Command/Publish.pm |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

- Log -----------------------------------------------------------------
commit 396c77809dc0575025404b1c8a96a71f7024424d
Author: Christine Spang <christine at debian.org>
Date:   Mon Jan 3 00:44:37 2011 +0000

    fix bug introduced by previous commit

diff --git a/lib/Prophet/CLI/Command/Publish.pm b/lib/Prophet/CLI/Command/Publish.pm
index b205517..9e05fad 100644
--- a/lib/Prophet/CLI/Command/Publish.pm
+++ b/lib/Prophet/CLI/Command/Publish.pm
@@ -101,12 +101,9 @@ sub render_templates_into {
      if (!$self->app_handle->try_to_require($server_class)) {
          $server_class = "Prophet::Server";
      }
-    my $server = $server_class->new();
-    $server->app_handle( $self->app_handle );
+    my $server = $server_class->new( app_handle => $self->app_handle );
     $server->setup_template_roots();
 
-
-
     # allow user to specify a specific type to render
     my @types = $self->type || $self->types_to_render;
 

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



More information about the Bps-public-commit mailing list