[Sugar-devel] [PATCH sugar] Control Panel: making about my computer section hardware independent, OLPC #11232
James Cameron
quozl at laptop.org
Mon Oct 17 05:24:45 EDT 2011
On Mon, Oct 17, 2011 at 11:07:13AM +0200, Simon Schampijer wrote:
> - the string does always start with "CL": CL1 for XO-1, CL1B for
> XO-1.5, CL2 for XO-1.75, ...
Actually, it also starts with CL1 for XO-1.5, we didn't change it, even
though we used CL1B elsewhere. At the time I was talking about the
identifier meaning, not our incorrect usage of it in OpenFirmware.
> if: string.startswith('CL') string[6:13]
> else: display all of the string
>
> And we add a comment about it. Sounds a good enough compromise for
> now?
Yes.
--
James Cameron
http://quozl.linux.org.au/
More information about the Sugar-devel
mailing list