[Debtags-commits] [svn] r1357 - autodebtag/trunk/ai-tagger
Benjamin Mesing
bmesing-guest at costa.debian.org
Fri Sep 16 14:51:24 UTC 2005
Author: bmesing-guest
Date: Fri Sep 16 14:51:23 2005
New Revision: 1357
Modified:
autodebtag/trunk/ai-tagger/bayesian-tagger.pl
autodebtag/trunk/ai-tagger/create-data.pl
Log:
- fixed faulty condition checking
Modified: autodebtag/trunk/ai-tagger/bayesian-tagger.pl
==============================================================================
--- autodebtag/trunk/ai-tagger/bayesian-tagger.pl (original)
+++ autodebtag/trunk/ai-tagger/bayesian-tagger.pl Fri Sep 16 14:51:23 2005
@@ -155,7 +155,7 @@
pod2usage(0) if $helpOption;
pod2usage(-exitstatus => 0, -verbose => 2) if $manOption;
-(@ARGV != 1) || pod2usage(1);
+(@ARGV == 1) || pod2usage(1);
my ($tag) = @ARGV;
Modified: autodebtag/trunk/ai-tagger/create-data.pl
==============================================================================
--- autodebtag/trunk/ai-tagger/create-data.pl (original)
+++ autodebtag/trunk/ai-tagger/create-data.pl Fri Sep 16 14:51:23 2005
@@ -88,7 +88,7 @@
pod2usage(0) if $helpOption;
pod2usage(-exitstatus => 0, -verbose => 2) if $manOption;
-(@ARGV != 1) || pod2usage(1);
+(@ARGV == 1) || pod2usage(1);
my ($tag) = @ARGV;
More information about the Debtags-commits
mailing list