Re: [Sugar-devel] [PATCH] Delete activities profile data when uninstall

2010-07-05 Thread Martin Abente
On Mon, 2010-07-05 at 20:19 +, Sascha Silbe wrote: > Excerpts from Martin Abente's message of Mon Jul 05 19:49:10 + 2010: > > [src/sugar/bundle/activitybundle.py] > > @@ -417,6 +418,10 @@ class ActivityBundle(Bundle): > [...] > > +profile_path = env.get_profile_path(self._bundle_id

Re: [Sugar-devel] [PATCH] Delete activities profile data when uninstall

2010-07-05 Thread Sascha Silbe
Excerpts from Martin Abente's message of Mon Jul 05 19:49:10 + 2010: [src/sugar/bundle/activitybundle.py] > @@ -417,6 +418,10 @@ class ActivityBundle(Bundle): [...] > +profile_path = env.get_profile_path(self._bundle_id) > +if os.path.exists(profile_path): > +shutil

[Sugar-devel] [PATCH] Delete activities profile data when uninstall

2010-07-05 Thread Martin Abente
When activities are uninstalled, profile data persists. Profile data can consume a lot of disk space. Therefore it is necessary to delete it. More info http://bugs.sugarlabs.org/ticket/2074 --- src/sugar/bundle/activitybundle.py |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff