From d9673775b379c7e7e86773321fd23d5967ad3633 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Sun, 11 Mar 2007 01:44:32 -0800 Subject: [PATCH] return absent if dist or arch is passed and there are no versions --- Debbugs/Status.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Debbugs/Status.pm b/Debbugs/Status.pm index 605d2e1..c515a37 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'; -- 2.39.2