]> git.donarmstrong.com Git - debbugs.git/commitdiff
return absent if dist or arch is passed and there are no versions
authorDon Armstrong <don@volo>
Sun, 11 Mar 2007 09:44:32 +0000 (01:44 -0800)
committerDon Armstrong <don@volo>
Sun, 11 Mar 2007 09:44:32 +0000 (01:44 -0800)
Debbugs/Status.pm

index 605d2e1fce7a67df9cb6c6055639cdb67cd85818..c515a37f534a4c641a35ab83df7d5150c3810e31 100644 (file)
@@ -862,6 +862,9 @@ sub bug_presence {
                                   version_cache => $version_cache,
                                  );
      }
+     elsif (defined $param{dist} or defined $param{arch}) {
+         return 'absent';
+     }
      if (length($status{done}) and
         (not @sourceversions or not @{$status{fixed_versions}})) {
          return 'fixed';