r7133 - bigboard/trunk/bigboard/stocks/self
- From: commits mugshot org
- To: online-desktop-list gnome org
- Subject: r7133 - bigboard/trunk/bigboard/stocks/self
- Date: Fri, 4 Jan 2008 16:03:55 -0600 (CST)
Author: walters
Date: 2008-01-04 16:03:55 -0600 (Fri, 04 Jan 2008)
New Revision: 7133
Modified:
bigboard/trunk/bigboard/stocks/self/portfoliomanager.py
Log:
Avoid adding empty widget URLs (b.m.o #1359).
Modified: bigboard/trunk/bigboard/stocks/self/portfoliomanager.py
===================================================================
--- bigboard/trunk/bigboard/stocks/self/portfoliomanager.py 2008-01-04 20:45:26 UTC (rev 7132)
+++ bigboard/trunk/bigboard/stocks/self/portfoliomanager.py 2008-01-04 22:03:55 UTC (rev 7133)
@@ -280,6 +280,8 @@
def __on_google_gadget_add(self, but):
_logger.debug("got add for ggadget")
url = self.__google_gadget_entry.get_property('text')
+ if not url:
+ return
try:
urlparse.urlparse(url)
except:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]