Author: jamessan
Date: 2009-09-01 02:08:21 +0000 (Tue, 01 Sep 2009)
New Revision: 1982

Modified:
   trunk/scripts/bts.pl
Log:
Use "limit source $pkg" directly instead of changing to "limit package src:$pkg"

Modified: trunk/scripts/bts.pl
===================================================================
--- trunk/scripts/bts.pl        2009-08-30 14:07:37 UTC (rev 1981)
+++ trunk/scripts/bts.pl        2009-09-01 02:08:21 UTC (rev 1982)
@@ -1847,8 +1847,8 @@
                       subject => 'subject',
                       msgid => 'msgid',
                       package => 'package',
-                      source => 'package',
-                      src => 'package',
+                      source => 'source',
+                      src => 'source',
                       tag => 'keywords',
                       severity => 'severity',
                       owner => 'owner',
@@ -1862,9 +1862,7 @@
            # Support "$key:" by making it look like "$key", i.e. no $value
            # defined
            undef $value unless length($value);
-           if ($key =~ /^(?:source|src)$/) {
-               $value = "src:$value" if defined $value;
-           } elsif ($key eq "archive") {
+           if ($key eq "archive") {
                if (defined $value) {
                    # limit looks for unarchived, not archive.  Verify we have
                    # a valid value and then switch the boolean value to match



-- 
To unsubscribe, send mail to [email protected].

Reply via email to