[Sugar-devel] ObjectChooser() Issue?

Art Hunkins abhunkin at uncg.edu
Sat Nov 20 16:37:24 EST 2010


One more question:

This code tests for the presence of an XO-1 (thanks originally to Walter):

   if os.path.exists("/sys/power/olpc-pm"):

Normally this is also a test for Sugar 0.82. I want, however, also to test 
for Sugar *upgrades* on the XO-1; I don't want the same result as for 0.82 
(as, for example, if 0.84 is installed).

So, do I use the same test, or do I need some other (if so, what)?

(Another way of phrasing the question: is the above essentially a hardware 
or a software test?)

Art Hunkins

----- Original Message ----- 
From: "Sascha Silbe" <sascha-ml-reply-to-2010-3 at silbe.org>
To: "sugar-devel" <sugar-devel at lists.sugarlabs.org>
Sent: Saturday, November 20, 2010 3:38 AM
Subject: Re: [Sugar-devel] ObjectChooser() Issue?


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



More information about the Sugar-devel mailing list