On Thu, Apr 24, 2008 at 12:13:19PM -0400, Benjamin M. Schwartz wrote:
> I would prefer a true ternary expression (new in 2.5):
> mute_item_text = 'Unmute' if self._model.props.muted else 'Mute'

Doh -- I forgot we're on 2.5.  Of course this is the right thing to
do.  Thanks.

> - --Ben

Martin

Attachment: pgp7SSjrlo6ER.pgp
Description: PGP signature

_______________________________________________
Sugar mailing list
Sugar@lists.laptop.org
http://lists.laptop.org/listinfo/sugar

Reply via email to