[Sugar-devel] [PATCH sugar] Add support for XO 1.75

Gonzalo Odiard gonzalo at laptop.org
Thu Aug 18 10:00:37 EDT 2011


Ouch!

On Thu, Aug 18, 2011 at 10:45 AM, James Cameron <quozl at laptop.org> wrote:

> On Thu, Aug 18, 2011 at 01:15:02PM +0200, Simon Schampijer wrote:
> > --- a/src/jarabe/desktop/schoolserver.py
> > +++ b/src/jarabe/desktop/schoolserver.py
> > @@ -107,13 +111,16 @@ def register_laptop(url=_REGISTER_URL):
> >      client = gconf.client_get_default()
> >
> >      if _have_ofw_tree():
> > -        sn = _read_ofw('mfg-data/SN')
> > -        uuid_ = _read_ofw('mfg-data/U#')
> > -        sn = sn or 'SHF00000000'
> > -        uuid_ = uuid_ or '00000000-0000-0000-0000-000000000000'
> > +        sn = _read_mfg_data(os.path.join(_OFW_TREE, _MFG_SN))
> > +        uuid_ = _read_mfg_data(os.path.join(_PROC_TREE, _MFG_UUID))
>
>                                                ^ _OFW_TREE?
>
> --
> James Cameron
> http://quozl.linux.org.au/
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20110818/d6c7df6c/attachment-0001.html>


More information about the Sugar-devel mailing list