deskbar-applet r2274 - in trunk: . deskbar/handlers
- From: sebp svn gnome org
- To: svn-commits-list gnome org
- Subject: deskbar-applet r2274 - in trunk: . deskbar/handlers
- Date: Fri, 1 Aug 2008 08:24:39 +0000 (UTC)
Author: sebp
Date: Fri Aug 1 08:24:39 2008
New Revision: 2274
URL: http://svn.gnome.org/viewvc/deskbar-applet?rev=2274&view=rev
Log:
Fixed bug #545791: local variable 'dom' referenced before assignment
Modified:
trunk/ChangeLog
trunk/deskbar/handlers/desklicious.py
Modified: trunk/deskbar/handlers/desklicious.py
==============================================================================
--- trunk/deskbar/handlers/desklicious.py (original)
+++ trunk/deskbar/handlers/desklicious.py Fri Aug 1 08:24:39 2008
@@ -145,8 +145,10 @@
dom = xml.dom.minidom.parse(stream)
except IOError, msg:
LOGGER.error("Could not open URL %s: %s, %s", url, msg[0], msg[1])
+ return []
except ExpatError, e:
LOGGER.exception(e)
+ return []
finally:
if stream != None:
stream.close()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]