You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by mm...@apache.org on 2012/10/16 20:16:58 UTC
svn commit: r1398910 -
/spamassassin/trunk/lib/Mail/SpamAssassin/Util/DependencyInfo.pm
Author: mmartinec
Date: Tue Oct 16 18:16:58 2012
New Revision: 1398910
URL: http://svn.apache.org/viewvc?rev=1398910&view=rev
Log:
minor: another case of an undef warning in DependencyInfo.pm (some old modules do not provide a VERSION method)
Modified:
spamassassin/trunk/lib/Mail/SpamAssassin/Util/DependencyInfo.pm
Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Util/DependencyInfo.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Util/DependencyInfo.pm?rev=1398910&r1=1398909&r2=1398910&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Util/DependencyInfo.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Util/DependencyInfo.pm Tue Oct 16 18:16:58 2012
@@ -548,6 +548,7 @@ sub try_module {
($module_version && $module_version >= $recommended_version)) {
$version_meets_recommended = 1;
}
+ $module_version = '' if !defined $module_version;
}
my $errtype;