On Sat, Aug 14, 2010 at 03:56, James Cameron quozl@laptop.org wrote:
I'm mystified too. But it doesn't happen when I try it on os851 on XO-1.5 ...
- the file can be deleted by user olpc in Terminal and stays deleted
until Sugar restart, (an rm -f works, then an rm -f fails with "No such file or directory),
- the file can be deleted by user root in text console and stays
deleted until Sugar restart.
Some git grep turned out this:
def _write_favorites_file(self): path = env.get_profile_path('favorite_activities') favorites_data = {'defaults-mtime': self._last_defaults_mtime, 'favorites': self._favorite_bundles} simplejson.dump(favorites_data, open(path, 'w'), indent=1)
I know this seems counter-intuitive to lots of engineers, but reading code actually ends up saving time.
Regards,
Tomeu
-- James Cameron http://quozl.linux.org.au/ _______________________________________________ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel