bigboard r7329 - trunk/bigboard/stocks/apps
- From: otaylor svn gnome org
- To: svn-commits-list gnome org
- Subject: bigboard r7329 - trunk/bigboard/stocks/apps
- Date: Wed, 7 May 2008 19:44:49 +0100 (BST)
Author: otaylor
Date: Wed May 7 18:44:48 2008
New Revision: 7329
URL: http://svn.gnome.org/viewvc/bigboard?rev=7329&view=rev
Log:
Make relative icon urls absolute when fetching applications via HTTP
Modified:
trunk/bigboard/stocks/apps/apps.py
Modified: trunk/bigboard/stocks/apps/apps.py
==============================================================================
--- trunk/bigboard/stocks/apps/apps.py (original)
+++ trunk/bigboard/stocks/apps/apps.py Wed May 7 18:44:48 2008
@@ -193,6 +193,7 @@
# future, cmp() will return bogus results
attrs['rank'] = int(attrs['rank'])
attrs['usageCount'] = int(attrs['usageCount'])
+ attrs['iconUrl'] = urlparse.urljoin(globals.get_baseurl(), attrs['iconUrl'])
description = xml_query(node, 'description#')
if description:
attrs['description'] = description
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]