[Sugar-devel] Screen Displays (text)

Tomeu Vizoso tomeu at sugarlabs.org
Sat Aug 15 05:07:51 EDT 2009


On Sat, Aug 15, 2009 at 01:35, Raul Gutierrez Segales<rgs at rieder.net.py> wrote:
> 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..

Added a ticket for this: http://dev.sugarlabs.org/ticket/1183

Thanks,

Tomeu

-- 
«Sugar Labs is anyone who participates in improving and using Sugar.
What Sugar Labs does is determined by the participants.» - David
Farning


More information about the Sugar-devel mailing list