← Back to team overview

weather-indicator-team team mailing list archive

[Merge] lp:~mihaic/weather-indicator/default-wind-speed-unit-fix into lp:weather-indicator

 

Mihai Capotă has proposed merging lp:~mihaic/weather-indicator/default-wind-speed-unit-fix into lp:weather-indicator.

Requested reviews:
  Weather Indicator Team (weather-indicator-team)

For more details, see:
https://code.launchpad.net/~mihaic/weather-indicator/default-wind-speed-unit-fix/+merge/80898

Use km/h as default wind speed unit. It matches the metric system that is already the default for temperature.
-- 
https://code.launchpad.net/~mihaic/weather-indicator/default-wind-speed-unit-fix/+merge/80898
Your team Weather Indicator Team is requested to review the proposed merge of lp:~mihaic/weather-indicator/default-wind-speed-unit-fix into lp:weather-indicator.
=== modified file 'src/service/indicator_weather_service/settings.py'
--- src/service/indicator_weather_service/settings.py	2011-05-15 07:08:18 +0000
+++ src/service/indicator_weather_service/settings.py	2011-11-01 13:42:26 +0000
@@ -167,7 +167,7 @@
         },
         WIND_UNIT : {
             INFO_TYPE : types.StringType,
-            INFO_DEFAULT : WindUnit.MPH,
+            INFO_DEFAULT : WindUnit.KPH,
             INFO_VALUES : WindUnit.INFO.keys(),
             INFO_CLASS : WindUnit,
             INFO_SETTING : 'wind-unit'


Follow ups