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

Sascha Silbe sascha-ml-reply-to-2011-2 at silbe.org
Fri Feb 11 14:37:29 EST 2011


Excerpts from James Cameron's message of Wed Jun 02 08:38:15 +0200 2010:

> I've read your style guidelines on
> http://wiki.sugarlabs.org/go/Development_Team/Code_guidelines in
> particular the use of logging.debug('foo %r bar', x) instead of
> logging.debug('foo %r bar' % x) as you pointed out, but also that the
> code is about communicating to people, and I propose the following
> alternate patch which simplifies the message so that it is succinct and
> therefore more readily comprehended:

[...]

> -                        _logger.error('There is no CLASS constant specifieds ' \
> -                                          'in the view file \'%s\'.' % item)
> +                        _logger.error('no CLASS attribute in %s', item)

Rebased on mainline/master and pushed as fa76ea4, thanks!

Sascha

[1] http://git.sugarlabs.org/sugar/mainline/commit/fa76ea4639db82bb7a020d62b3f0f752e1325cf3
-- 
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: 494 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20110211/5325b4f4/attachment.pgp>


More information about the Sugar-devel mailing list