From 2456465d795cb12b6e7f763ab0fc1a45f11dd77f Mon Sep 17 00:00:00 2001 From: Gonzalo Odiard Date: Fri, 13 Jun 2014 12:59:24 -0300 Subject: [PATCH] Enable collaboration by default on activities When we implemented read max_participants from activity.info [1] we changed the default value of max_participants, from 0 to 1. Before, was responsability of the activities set max_participants == 1, when the activity not implemented collaboration. This change make the default backwards compatible. [1] d0cca91fe8510e11de8f332bf659789daf9c0d8d --- src/sugar3/bundle/activitybundle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sugar3/bundle/activitybundle.py b/src/sugar3/bundle/activitybundle.py index b73faac9..cbee15fa 100644 --- a/src/sugar3/bundle/activitybundle.py +++ b/src/sugar3/bundle/activitybundle.py @@ -113,7 +113,7 @@ class ActivityBundle(Bundle): self._activity_version = '0' self._summary = None self._single_instance = False - self._max_participants = 1 + self._max_participants = 0 info_file = self.get_file('activity/activity.info') if info_file is None: