[Bps-public-commit] Prophet branch, master, updated. 0.73-28-g24d7eef

spang at bestpractical.com spang at bestpractical.com
Sat Jan 2 20:53:31 EST 2010


The branch, master has been updated
       via  24d7eef857df7d802d980fb7e13cceaf98d7a16c (commit)
      from  68286d8a57e959a480f59173e85987894b3d9ffb (commit)

Summary of changes:
 lib/Prophet/Record.pm |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 24d7eef857df7d802d980fb7e13cceaf98d7a16c
Author: Florian Ragwitz <rafl at debian.org>
Date:   Sat Jan 2 22:51:08 2010 +0100

    Stop depending on app_handle already being initialized.

diff --git a/lib/Prophet/Record.pm b/lib/Prophet/Record.pm
index a3b7ef0..82b76f7 100644
--- a/lib/Prophet/Record.pm
+++ b/lib/Prophet/Record.pm
@@ -23,7 +23,8 @@ has app_handle => (
 has handle => (
     is       => 'rw',
     required => 1,
-    default => sub { shift->app_handle->handle }
+    lazy     => 1,
+    default  => sub { shift->app_handle->handle }
 );
 
 has type => (

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



More information about the Bps-public-commit mailing list