Merge lp:~roignac/ubuntu/oneiric/indicator-weather/lp_886028 into lp:ubuntu/oneiric/indicator-weather

Proposed by Vadim Rutkovsky
Status: Needs review
Proposed branch: lp:~roignac/ubuntu/oneiric/indicator-weather/lp_886028
Merge into: lp:ubuntu/oneiric/indicator-weather
Diff against target: 14 lines (+1/-3)
1 file modified
bin/indicator-weather (+1/-3)
To merge this branch: bzr merge lp:~roignac/ubuntu/oneiric/indicator-weather/lp_886028
Reviewer Review Type Date Requested Status
Andrew Starr-Bochicchio Pending
Review via email: mp+85219@code.launchpad.net

Description of the change

Backporting the fix for bug #886026, which broke soem cities and forecasts

To post a comment you must log in.

Unmerged revisions

35. By Vadim Rutkovsky

Applied patch, which handles Unknown wind info correctly. Many thanks to Tomasz Maciejewski

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'bin/indicator-weather'
--- bin/indicator-weather 2011-07-12 01:44:53 +0000
+++ bin/indicator-weather 2011-12-10 10:56:26 +0000
@@ -833,9 +833,7 @@
833 wind_info = self.__report['current_conditions']['wind_condition'].split(' ')833 wind_info = self.__report['current_conditions']['wind_condition'].split(' ')
834 wind_speed = wind_info[3]834 wind_speed = wind_info[3]
835 else:835 else:
836 wind_direction = _("Unknown")836 return _("Unknown")
837 wind_info = _("Unknown")
838 wind_speed = _("Unknown")
839837
840 if self.__weather_datasource == WeatherDataSource.YAHOO:838 if self.__weather_datasource == WeatherDataSource.YAHOO:
841 # Create a similar to Google wind_info structure from Yahoo data839 # Create a similar to Google wind_info structure from Yahoo data

Subscribers

People subscribed via source and target branches