From b918630f5e0c30b030afeb622950709c65c0040a Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Sun, 23 May 2010 18:29:08 +0000 Subject: [PATCH] * morituri/common/program.py: Set results by default so that it is set even if we get an exception getting them. Fixes #35. --- ChangeLog | 7 +++++++ morituri/common/program.py | 1 + 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 4c125e9..530bee5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2010-05-23 Thomas Vander Stichele + + * morituri/common/program.py: + Set results by default so that it is set even if we get an + exception getting them. + Fixes #35. + 2010-04-25 Thomas Vander Stichele * morituri/test/test_image_toc.py: diff --git a/morituri/common/program.py b/morituri/common/program.py index 35e84c7..8f3127e 100644 --- a/morituri/common/program.py +++ b/morituri/common/program.py @@ -105,6 +105,7 @@ def musicbrainz(discid): #import musicbrainz2.disc as mbdisc import musicbrainz2.webservice as mbws + results = [] # Setup a Query object. service = mbws.WebService()