aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-12-20 13:21:04 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-12-20 13:21:04 +0000
commitc1d52506a75ca9989ec9c83117c223bce65e8a9a (patch)
tree836db03be4bf98e2a032909b1f4b30a50f58180a
parent2f876b64ac76de71834d2a38b6fcacf0904eb80d (diff)
downloadperl-URPM-c1d52506a75ca9989ec9c83117c223bce65e8a9a.tar
perl-URPM-c1d52506a75ca9989ec9c83117c223bce65e8a9a.tar.gz
perl-URPM-c1d52506a75ca9989ec9c83117c223bce65e8a9a.tar.bz2
perl-URPM-c1d52506a75ca9989ec9c83117c223bce65e8a9a.tar.xz
perl-URPM-c1d52506a75ca9989ec9c83117c223bce65e8a9a.zip
- fix regression in parse_pubkeys() (introduced in 3.00) (#36121)
-rw-r--r--NEWS2
-rw-r--r--URPM/Signature.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 611e931..875c623 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- fix regression in parse_pubkeys() (introduced in 3.00) (#36121)
+
Version 3.03 - 14 December 2007, by Pascal "Pixel" Rigaux
- suggests:
diff --git a/URPM/Signature.pm b/URPM/Signature.pm
index 4a0fdbe..95b9775 100644
--- a/URPM/Signature.pm
+++ b/URPM/Signature.pm
@@ -68,7 +68,7 @@ sub parse_pubkeys {
$db ||= URPM::DB::open($options{root}) or die "Can't open RPM DB, aborting\n";
my @keys = parse_pubkeys_($db);
- $urpm->{keys}{$_->id} = $_ foreach @keys;
+ $urpm->{keys}{$_->{id}} = $_ foreach @keys;
}
#- side-effects: none