You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by km...@apache.org on 2012/08/08 15:11:44 UTC

svn commit: r1370753 - /spamassassin/trunk/build/mkupdates/listpromotable

Author: kmcgrail
Date: Wed Aug  8 13:11:42 2012
New Revision: 1370753

URL: http://svn.apache.org/viewvc?rev=1370753&view=rev
Log:
DEBUG for bug 6820

Modified:
    spamassassin/trunk/build/mkupdates/listpromotable

Modified: spamassassin/trunk/build/mkupdates/listpromotable
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/mkupdates/listpromotable?rev=1370753&r1=1370752&r2=1370753&view=diff
==============================================================================
--- spamassassin/trunk/build/mkupdates/listpromotable (original)
+++ spamassassin/trunk/build/mkupdates/listpromotable Wed Aug  8 13:11:42 2012
@@ -210,7 +210,12 @@ foreach my $plistkey (sort keys %{$plist
     next if ($tfs =~ /\bnopublish\b/);
 
     if ($tfs =~ /\bpublish\b/) {
-      $notes = "tflags ".$1;
+      if (defined $1) {
+        $notes = "tflags ".$1;
+      } else {
+        #BUG 6820: What's this supposed to do because I don't see a possibility that $1 is set
+        print "DEBUG: \$1 isn't defined - $tfs\n";
+      }
       goto publish;
     }
   }