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/ _______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel