[Bast-commits] r4258 -
branches/DBIx-Class-Schema-Loader/current/lib/DBIx/Class/Schema/Loader
ilmari at dev.catalyst.perl.org
ilmari at dev.catalyst.perl.org
Sun Apr 13 01:40:50 BST 2008
Author: ilmari
Date: 2008-04-13 01:40:49 +0100 (Sun, 13 Apr 2008)
New Revision: 4258
Modified:
branches/DBIx-Class-Schema-Loader/current/lib/DBIx/Class/Schema/Loader/Base.pm
Log:
Fix warning when dumping a schema with external class definitions.
Modified: branches/DBIx-Class-Schema-Loader/current/lib/DBIx/Class/Schema/Loader/Base.pm
===================================================================
--- branches/DBIx-Class-Schema-Loader/current/lib/DBIx/Class/Schema/Loader/Base.pm 2008-04-11 21:25:26 UTC (rev 4257)
+++ branches/DBIx-Class-Schema-Loader/current/lib/DBIx/Class/Schema/Loader/Base.pm 2008-04-13 00:40:49 UTC (rev 4258)
@@ -284,7 +284,7 @@
my $real_dump_path = $self->dump_directory
? Cwd::abs_path(
File::Spec->catfile($self->dump_directory, $class_path)
- )
+ ) || ''
: '';
my $real_inc_path = Cwd::abs_path($inc_path);
return if $real_inc_path eq $real_dump_path;
More information about the Bast-commits
mailing list