[mb-commits] branch, beta, updated. Fix remaining brokenness in tests on hobbes
MusicBrainz Git Server <[email protected]>
| Newsgroups | gmane.comp.audio.musicbrainz.cvs |
|---|---|
| Message-ID | <E1TdOW0-0006uD-Rh@wiley> |
The branch, beta has been updated
via http://git.musicbrainz.org/gitweb/?p=musicbrainz-server/core.git;a=commit;h=fd78521419d77655693a2a64fe1a4c8f48e52dbf (commit)
from http://git.musicbrainz.org/gitweb/?p=musicbrainz-server/core.git;a=commit;h=eed2499952cddd801062f27e83071d247e4c4645 (commit)
Summary of changes:
lib/MusicBrainz/Server/Data/WikipediaExtract.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit fd78521419d77655693a2a64fe1a4c8f48e52dbf
Author: Ian McEwen <[email protected]>
Date: Tue Nov 27 09:59:40 2012 -0700
Fix remaining brokenness in tests on hobbes
diff --git a/lib/MusicBrainz/Server/Data/WikipediaExtract.pm b/lib/MusicBrainz/Server/Data/WikipediaExtract.pm
index 28898e1..2931e4d 100644
--- a/lib/MusicBrainz/Server/Data/WikipediaExtract.pm
+++ b/lib/MusicBrainz/Server/Data/WikipediaExtract.pm
@@ -140,7 +140,7 @@ sub _get_and_process_json
}
# pull out the correct page, though there should only be one
- my $ret = first { $_->{title} eq $title } values $content->{pages};
+ my $ret = first { $_->{title} eq $title } values %{ $content->{pages} };
unless ($ret && $ret->{$property}) { return undef; }
return {content => $ret->{$property}, title => $noncanonical, canonical => $title}
-----------------------------------------------------------------------
hooks/post-receive
--
mb_server