totem r5349 - in trunk: . src/plugins/youtube



Author: pwithnall
Date: Tue Apr  8 18:03:55 2008
New Revision: 5349
URL: http://svn.gnome.org/viewvc/totem?rev=5349&view=rev

Log:
2008-04-08  Philip Withnall  <pwithnall svn gnome org>

	* src/plugins/youtube/youtube.py: Fix RequestError exception to
	actually work.



Modified:
   trunk/ChangeLog
   trunk/src/plugins/youtube/youtube.py

Modified: trunk/src/plugins/youtube/youtube.py
==============================================================================
--- trunk/src/plugins/youtube/youtube.py	(original)
+++ trunk/src/plugins/youtube/youtube.py	Tue Apr  8 18:03:55 2008
@@ -18,7 +18,7 @@
 		self.youtube.entry_lock.acquire (True)
 		try:
 			self.youtube.entry[self.treeview_name] = self.youtube.service.Get (self.url).entry
-		except RequestError:
+		except gdata.service.RequestError:
 			"""Probably a 503 service unavailable. Unfortunately we can't give an error message, as we're not in the GUI thread"""
 			"""Just let the lock go and return"""
 		self.youtube.entry_lock.release ()



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]