[Sugar-devel] Query regarding a method

Martin Abente martin.abente.lahaye at gmail.com
Tue Feb 14 05:25:59 EST 2012


The journal is constantly watching for the new entries that are created or
updated. For every newly created or updated journal entry, it checks
whether or not this entry is a bundle (ie, an activity bundle).

IF this journal entry is an bundle, it checks if the activity is already
installed or not, if not installed, it just installs it.

That is basically how the magic activities installation works, IIRC.

On Tue, Feb 14, 2012 at 7:12 AM, Ajay Garg <ajay at activitycentral.com> wrote:

> Hi all.
>
> I will be grateful, if someone could please let me know the purpose of
> the following method : (A somewhat step-by-step use-case explanation
> will be really useful :-) )
>
> """
> def _check_for_bundle(self, object_id)
> """
>
> in "/usr/lib/python2.7/site-packages/jarabe/journal/journalactivity.py".
>
>
>
> Regards,
> Ajay
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20120214/10b5a53b/attachment.html>


More information about the Sugar-devel mailing list