r52406 - /trunk/dh-make-perl/lib/DhMakePerl.pm

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Tue Feb 9 20:44:57 UTC 2010


Author: dmn
Date: Tue Feb  9 20:44:46 2010
New Revision: 52406

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=52406
Log:
get_itp(): return undef if no ITP is/can be found

Modified:
    trunk/dh-make-perl/lib/DhMakePerl.pm

Modified: trunk/dh-make-perl/lib/DhMakePerl.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/lib/DhMakePerl.pm?rev=52406&op=diff
==============================================================================
--- trunk/dh-make-perl/lib/DhMakePerl.pm (original)
+++ trunk/dh-make-perl/lib/DhMakePerl.pm Tue Feb  9 20:44:46 2010
@@ -1227,7 +1227,7 @@
 }
 
 sub get_itp {
-    return if $ENV{NO_NETWORK};
+    return undef if $ENV{NO_NETWORK};
 
     my ( $self, $package ) = @_;
 
@@ -1247,7 +1247,7 @@
         }
 
     }
-    return 0;
+    return undef;
 }
 
 sub check_for_xs {




More information about the Pkg-perl-cvs-commits mailing list