On Fri, 2009-08-14 at 17:28 -0400, Walter Bender wrote:
> I determine whether or not I am on an XO with:
> 
>     if os.path.exists('/sys/power/olpc-pm'): # then assume you are on an XO
> 

Shouldn't we encapsulate this method (is_xo?()) somewhere? I've seen it
spread in a couple of places so far.. 




_______________________________________________
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel

Reply via email to