[Bps-public-commit] r12473 - in Prophet/branches/moose: .
sartak at bestpractical.com
sartak at bestpractical.com
Sat May 17 07:41:31 EDT 2008
Author: sartak
Date: Sat May 17 07:41:31 2008
New Revision: 12473
Modified:
Prophet/branches/moose/ (props changed)
Prophet/branches/moose/lib/Prophet/Replica.pm
Log:
r56214 at onn: sartak | 2008-05-17 07:41:17 -0400
Pass a Path::Class::Dir object into ReplicaExporter->new
Modified: Prophet/branches/moose/lib/Prophet/Replica.pm
==============================================================================
--- Prophet/branches/moose/lib/Prophet/Replica.pm (original)
+++ Prophet/branches/moose/lib/Prophet/Replica.pm Sat May 17 07:41:31 2008
@@ -7,6 +7,7 @@
use Params::Validate qw(:all);
use UNIVERSAL::require;
use Data::UUID;
+use Path::Class;
__PACKAGE__->mk_accessors(qw(state_handle resolution_db_handle is_resdb is_state_handle db_uuid url));
@@ -460,7 +461,7 @@
my %args = validate( @_, { path => 1, } );
Prophet::ReplicaExporter->require();
- my $exporter = Prophet::ReplicaExporter->new({target_path => $args{'path'}, source_replica => $self});
+ my $exporter = Prophet::ReplicaExporter->new({target_path => dir($args{'path'}), source_replica => $self});
$exporter->export();
}
More information about the Bps-public-commit
mailing list