Ouch!<br><br><div class="gmail_quote">On Thu, Aug 18, 2011 at 10:45 AM, James Cameron <span dir="ltr"><<a href="mailto:quozl@laptop.org">quozl@laptop.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
On Thu, Aug 18, 2011 at 01:15:02PM +0200, Simon Schampijer wrote:<br>
> --- a/src/jarabe/desktop/schoolserver.py<br>
<div class="im">> +++ b/src/jarabe/desktop/schoolserver.py<br>
</div><div class="im">> @@ -107,13 +111,16 @@ def register_laptop(url=_REGISTER_URL):<br>
> client = gconf.client_get_default()<br>
><br>
> if _have_ofw_tree():<br>
> - sn = _read_ofw('mfg-data/SN')<br>
> - uuid_ = _read_ofw('mfg-data/U#')<br>
> - sn = sn or 'SHF00000000'<br>
> - uuid_ = uuid_ or '00000000-0000-0000-0000-000000000000'<br>
> + sn = _read_mfg_data(os.path.join(_OFW_TREE, _MFG_SN))<br>
> + uuid_ = _read_mfg_data(os.path.join(_PROC_TREE, _MFG_UUID))<br>
<br>
</div> ^ _OFW_TREE?<br>
<font color="#888888"><br>
--<br>
James Cameron<br>
<a href="http://quozl.linux.org.au/" target="_blank">http://quozl.linux.org.au/</a><br>
</font><div><div></div><div class="h5">_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
</div></div></blockquote></div><br>