[Sugar-devel] [PATCH] Fix factor in centimeters unit

Rafael Ortiz rafael at activitycentral.com
Fri Sep 2 15:10:48 EDT 2011


On Fri, Sep 2, 2011 at 1:31 PM, <godiard at sugarlabs.org> wrote:

> From: Gonzalo Odiard <godiard at gmail.com>
>
> Signed-off-by: Gonzalo Odiard <gonzalo at laptop.org>
> ---
>  smoot_toolbar.py |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/smoot_toolbar.py b/smoot_toolbar.py
> index 91bc85a..649050c 100644
> --- a/smoot_toolbar.py
> +++ b/smoot_toolbar.py
> @@ -32,7 +32,7 @@ UNITS = [_('meters'), _('centimeters'),
>          _('inches'), _('feet'), _('yards'),
>          _('custom units')]
>  UNIT_DICTIONARY = {METERS: (_('meters'), 1.0),
> -                   CENTIMETERS: (_('centimeters'), 10.0),
> +                   CENTIMETERS: (_('centimeters'), 100.0),
>                    INCHES: (_('inches'), 39.37),
>                    FEET: (_('feet'), 3.28),
>                    YARDS: (_('yards'), 1.09),
> --
> 1.7.4.4
>
>
good, applied as


http://git.sugarlabs.org/distance/distance/commit/fa8c34f99d3a9fa94c0a5cb4ccb4a593136fb85c

> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20110902/3a6a5695/attachment.html>


More information about the Sugar-devel mailing list