[Sugar-devel] [PATCH] fix trivial typo in extension loading exception

Sascha Silbe sascha-ml-ui-sugar-devel at silbe.org
Tue Jun 1 04:17:32 EDT 2010


Excerpts from James Cameron's message of Tue Jun 01 01:27:02 +0000 2010:

> diff --git a/src/jarabe/controlpanel/gui.py b/src/jarabe/controlpanel/gui.py
> index 51d9820..0ec70d3 100644
> --- a/src/jarabe/controlpanel/gui.py
> +++ b/src/jarabe/controlpanel/gui.py
> @@ -259,7 +259,7 @@ class ControlPanel(gtk.Window):
>                              keywords.append(item)
>                          options[item]['keywords'] = keywords
>                      else:
> -                        _logger.error('There is no CLASS constant specifieds ' \
> +                        _logger.error('There is no CLASS constant specified ' \
>                                            'in the view file \'%s\'.' % item)
While you're at it, can you avoid the escaping by using different quotes
and replace "%" with "," (for consistency with our style guidelines - it
doesn't really make a difference in this particular case), please?

With or without that change:
Reviewed-By: Sascha Silbe <sascha-pgp at silbe.org>

Sascha
-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.sugarlabs.org/archive/sugar-devel/attachments/20100601/740776bb/attachment.pgp 


More information about the Sugar-devel mailing list