Mailing List Archive

svn commit: rev 9802 - incubator/spamassassin/trunk/lib/Mail
Author: felicity
Date: Sun Mar 28 08:31:55 2004
New Revision: 9802

Modified:
incubator/spamassassin/trunk/lib/Mail/SpamAssassin.pm
Log:
add the SA version to the debug output... I can't believe we didn't do that before.

Modified: incubator/spamassassin/trunk/lib/Mail/SpamAssassin.pm
==============================================================================
--- incubator/spamassassin/trunk/lib/Mail/SpamAssassin.pm (original)
+++ incubator/spamassassin/trunk/lib/Mail/SpamAssassin.pm Sun Mar 28 08:31:55 2004
@@ -243,6 +243,9 @@
$DEBUG->{enabled} = 0;
if (defined $self->{debug} && $self->{debug} > 0) { $DEBUG->{enabled} = 1; }

+ # Make the first thing output by debug the version...
+ dbg("SpamAssassin version ".Version());
+
# if the libs are installed in an alternate location, and the caller
# didn't set PREFIX, we should have an estimated guess ready ...
$self->{PREFIX} ||= '@@PREFIX@@'; # substituted at 'make' time