On Thu, Sep 18, 2008 at 11:54 PM, Michael Stone <[EMAIL PROTECTED]> wrote:
> On Thu, Sep 18, 2008 at 05:13:35PM -0300, Gabriel Eirea wrote:
>>Second issue: a very simple question, what does
>>$SUGAR_ACTIVITY_ROOT/data mean? and how can I put the configuration
>>files there when I pack the bundle?
>
> $SUGAR_ACTIVITY_ROOT means 'the value of the environment variable named
> "SUGAR_ACTIVITY_ROOT"'. The concatenated '/data' part means "append the
> string '/data' to the previous string." In python, you could perform
> this operation as follows:
>
>   import os
>   print os.path.join(os.environ['SUGAR_ACTIVITY_ROOT'], 'data')
>
> I believe that sugar's 'env' module provides some helper functions for
> accomplishing this task.

There is some information here:

http://wiki.laptop.org/go/Low-level_Activity_API#Security

Marco
_______________________________________________
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel

Reply via email to