[Sugar-devel] [PATCH sugar] Add support for XO 1.75
Simon Schampijer
simon at schampijer.de
Thu Aug 18 10:07:52 EDT 2011
On 08/18/2011 03:45 PM, James Cameron 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?
>
Thanks James for spotting! Pushed.
Regards,
Simon
More information about the Sugar-devel
mailing list