From: Don Armstrong Date: Wed, 19 Aug 2009 06:03:57 +0000 (-0700) Subject: fix dumb infinite loop; really fix this properly soon, please. X-Git-Tag: release/2.6.0~443^2~1 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=ebb65ed5c6e4d55246180bc0023b49e4d2e9b304;p=debbugs.git fix dumb infinite loop; really fix this properly soon, please. --- diff --git a/Debbugs/Status.pm b/Debbugs/Status.pm index b518a8e..26b8a84 100644 --- a/Debbugs/Status.pm +++ b/Debbugs/Status.pm @@ -1242,8 +1242,8 @@ sub bug_presence { # it; it's needed to properly handle bugs which are # erroneously assigned to the binary package, and we'll # probably have it go away eventually. - if (not keys %sourceversions) { - push @archs, undef; + if (not keys %sourceversions and (not @archs or defined $archs[0])) { + @archs = (undef); goto GET_SOURCE_VERSIONS; } }