[SCM] morituri/master: * morituri/common/program.py: Set results by default so that it is set even if we get an exception getting them. Fixes #35.

js at users.alioth.debian.org js at users.alioth.debian.org
Sun Oct 19 20:09:20 UTC 2014


The following commit has been merged in the master branch:
commit b918630f5e0c30b030afeb622950709c65c0040a
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date:   Sun May 23 18:29:08 2010 +0000

    	* morituri/common/program.py:
    	  Set results by default so that it is set even if we get an
    	  exception getting them.
    	  Fixes #35.

diff --git a/ChangeLog b/ChangeLog
index 4c125e9..530bee5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-05-23  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+	* 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  <thomas at apestaart dot org>
 
 	* 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()

-- 
morituri packaging



More information about the pkg-multimedia-commits mailing list