[Sugar-devel] [PATCH sugar] Add support for XO 1.75
James Cameron
quozl at laptop.org
Thu Aug 18 09:45:19 EDT 2011
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/
More information about the Sugar-devel
mailing list