Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/datastore/datastore.py
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2007-08-14 19:24:01 (GMT)
committer Simon McVittie <simon.mcvittie@collabora.co.uk>2007-08-14 19:24:01 (GMT)
commitd93122bf5e8622f6c8ede4b3b80295f9b8511425 (patch)
tree3eb27e91975eeef66d55df0f7608e28b463f177f /sugar/datastore/datastore.py
parent7368429ad6feadd9e81757433b68b63d9d27c04f (diff)
parent0e4eccd49b056e5aebe71ffa46d462e15fd7a883 (diff)
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
Diffstat (limited to 'sugar/datastore/datastore.py')
-rw-r--r--sugar/datastore/datastore.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/sugar/datastore/datastore.py b/sugar/datastore/datastore.py
index 1fbe615..5ba994d 100644
--- a/sugar/datastore/datastore.py
+++ b/sugar/datastore/datastore.py
@@ -140,14 +140,12 @@ class DSObject(object):
activityfactory.create_with_object_id(service_name, object_id)
def destroy(self):
- logging.debug('DSObject.destroy() file_path: %r.' % self._file_path)
if self._destroyed:
logging.warning('This DSObject has already been destroyed!.')
import pdb;pdb.set_trace()
return
self._destroyed = True
if self._file_path and self._owns_file:
- logging.debug('Removing temp file: %r' % self._file_path)
if os.path.isfile(self._file_path):
os.remove(self._file_path)
self._owns_file = False