[Bps-public-commit] r10950 - Shipwright/trunk/lib/Shipwright/Source

sunnavy at bestpractical.com sunnavy at bestpractical.com
Thu Feb 28 02:19:56 EST 2008


Author: sunnavy
Date: Thu Feb 28 02:19:55 2008
New Revision: 10950

Modified:
   Shipwright/trunk/lib/Shipwright/Source/Base.pm

Log:
cleaned test warning

Modified: Shipwright/trunk/lib/Shipwright/Source/Base.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Source/Base.pm	(original)
+++ Shipwright/trunk/lib/Shipwright/Source/Base.pm	Thu Feb 28 02:19:55 2008
@@ -275,7 +275,7 @@
     my $url  = shift;
 
     my $map = {};
-    if ( -e $self->url_path ) {
+    if ( -e $self->url_path && ! -z $self->url_path ) {
         $map = Shipwright::Util::LoadFile( $self->url_path );
     }
     $map->{$name} = $url;



More information about the Bps-public-commit mailing list