[Sugar-devel] [PATCH] Simplify the definition of UpdateModel._bundles_to_check.

Sascha Silbe sascha-ml-reply-to-2010-3 at silbe.org
Tue Nov 30 15:38:41 EST 2010

Excerpts from Michael Stone's message of Sun May 23 20:50:26 +0200 2010:

> The only purposes of the list comprehension in UpdateModel.check_updates() is
> to set self._bundles_to_check to a list containing the elements returned by
> bundleregistry.get_registry(). This purpose can be more succinctly achieved by
> means of the list() constructor.

Reviewed-By: Sascha Silbe <sascha-pgp at silbe.org>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20101130/4bb6b617/attachment.pgp>

More information about the Sugar-devel mailing list