aboutsummaryrefslogtreecommitdiffstats
path: root/lib/MGA/Advisories.pm
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2014-08-06 11:08:41 +0100
committerColin Guthrie <colin@mageia.org>2014-08-06 11:08:41 +0100
commit0dd8c0ecc5851f02735e63a3046f158679d2edeb (patch)
tree99d35810244fd19b09d661b04dc4cf8b3644951e /lib/MGA/Advisories.pm
parentb2821c8b67818ef61c51a13826307ddcf1723582 (diff)
downloadmgaadvisories-0dd8c0ecc5851f02735e63a3046f158679d2edeb.tar
mgaadvisories-0dd8c0ecc5851f02735e63a3046f158679d2edeb.tar.gz
mgaadvisories-0dd8c0ecc5851f02735e63a3046f158679d2edeb.tar.bz2
mgaadvisories-0dd8c0ecc5851f02735e63a3046f158679d2edeb.tar.xz
mgaadvisories-0dd8c0ecc5851f02735e63a3046f158679d2edeb.zip
Close bugs in order.
Very minor issue but we may as well close the bugs in order of advisory.
Diffstat (limited to 'lib/MGA/Advisories.pm')
-rw-r--r--lib/MGA/Advisories.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MGA/Advisories.pm b/lib/MGA/Advisories.pm
index d96c039..7a203fb 100644
--- a/lib/MGA/Advisories.pm
+++ b/lib/MGA/Advisories.pm
@@ -537,7 +537,7 @@ sub close_bugs {
report_log("Cannot close advisory bugs. Could not initialise bugzilla");
return;
}
- foreach my $adv (keys %{$advdb->{advisories}}) {
+ foreach my $adv (sort keys %{$advdb->{advisories}}) {
next if $advdb->{advisories}{$adv}{status}{bug_closed};
my $bugnum = 0;