Development Team/Almanac/sugar.activity.activity: Difference between revisions

Tomeu (talk | contribs)
 
(5 intermediate revisions by 4 users not shown)
Line 227: Line 227:
         ...
         ...
         if handle.object_id is None:
         if handle.object_id is None:
             print "Activity is started anew"
             print "Activity is started anew (from the home view)"
         else:
         else:
             print "Activity is started from the journal"
             print "Activity is started from the journal and the object id is %s" % handle.object_id
         ...
         ...
</pre>
</pre>