From: Don Armstrong Date: Sun, 11 Mar 2007 09:44:32 +0000 (-0800) Subject: return absent if dist or arch is passed and there are no versions X-Git-Tag: release/2.6.0~576^2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=d9673775b379c7e7e86773321fd23d5967ad3633;p=debbugs.git return absent if dist or arch is passed and there are no versions --- diff --git a/Debbugs/Status.pm b/Debbugs/Status.pm index 605d2e1f..c515a37f 100644 --- a/Debbugs/Status.pm +++ b/Debbugs/Status.pm @@ -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';