Author: duncan
Date: Mon Dec 24 07:53:06 2007
New Revision: 10236
Log:
[ 1856597 ] Oneclick doesn't accept Non-ASCII-location names
Fix for bug reported by Bernhard Gruber
Modified:
branches/rel-1-7/freevo/ChangeLog
branches/rel-1-7/freevo/src/plugins/oneclick.py
branches/rel-1/freevo/ChangeLog
branches/rel-1/freevo/src/plugins/oneclick.py
Modified: branches/rel-1-7/freevo/ChangeLog
==============================================================================
--- branches/rel-1-7/freevo/ChangeLog (original)
+++ branches/rel-1-7/freevo/ChangeLog Mon Dec 24 07:53:06 2007
@@ -13,6 +13,11 @@
svn co svn://svn.freevo.org/freevo/branches/rel-1/freevo freevo-1.x
+== Release 1.7.6 (2008-??-??) ==
+--------------------------------
+
+ * Fixed onclick weather plug-in to allow non-ascii location names (B#1856597)
+
== Release 1.7.5 (2007-12-22) ==
--------------------------------
Modified: branches/rel-1-7/freevo/src/plugins/oneclick.py
==============================================================================
--- branches/rel-1-7/freevo/src/plugins/oneclick.py (original)
+++ branches/rel-1-7/freevo/src/plugins/oneclick.py Mon Dec 24 07:53:06 2007
@@ -315,14 +315,14 @@
if len(location) > 2 and location[2]:
self.mapuri = str(location[2])
if len(location) > 3 and location[3]:
- self.name = str(location[3])
+ self.name = Unicode(location[3])
else:
self.location = location
self.ismetric = False
- self.popupParam = Unicode(self.location)
+ self.popupParam = self.location
if self.name:
- self.popupParam = Unicode(self.name)
+ self.popupParam = self.name
self.units = self.ismetric and '&unit=m' or ''
self.url_curc = config.ONECLICK_URL_CURC %
(urllib.quote(self.location), self.units)
Modified: branches/rel-1/freevo/ChangeLog
==============================================================================
--- branches/rel-1/freevo/ChangeLog (original)
+++ branches/rel-1/freevo/ChangeLog Mon Dec 24 07:53:06 2007
@@ -13,6 +13,14 @@
svn co svn://svn.freevo.org/freevo/branches/rel-1/freevo freevo-1.x
+== Release 1.8.0rc2 (2008-01-24) ==
+--------------------------------
+
+== Release 1.7.6 (2008-??-??) ==
+--------------------------------
+
+ * Fixed onclick weather plug-in to allow non-ascii location names (B#1856597)
+
== Release 1.8.0rc1 (2007-12-22) ==
--------------------------------
Modified: branches/rel-1/freevo/src/plugins/oneclick.py
==============================================================================
--- branches/rel-1/freevo/src/plugins/oneclick.py (original)
+++ branches/rel-1/freevo/src/plugins/oneclick.py Mon Dec 24 07:53:06 2007
@@ -315,14 +315,14 @@
if len(location) > 2 and location[2]:
self.mapuri = str(location[2])
if len(location) > 3 and location[3]:
- self.name = str(location[3])
+ self.name = Unicode(location[3])
else:
self.location = location
self.ismetric = False
- self.popupParam = Unicode(self.location)
+ self.popupParam = self.location
if self.name:
- self.popupParam = Unicode(self.name)
+ self.popupParam = self.name
self.units = self.ismetric and '&unit=m' or ''
self.url_curc = config.ONECLICK_URL_CURC %
(urllib.quote(self.location), self.units)
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog