From cd4cb6bd672fd5bee38da40c6466e8fced10bbeb Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sun, 04 Nov 2007 15:21:08 +0000 Subject: Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar --- diff --git a/lib/sugar/datastore/datastore.py b/lib/sugar/datastore/datastore.py index 6b419a4..07e7635 100644 --- a/lib/sugar/datastore/datastore.py +++ b/lib/sugar/datastore/datastore.py @@ -167,7 +167,8 @@ class DSObject(object): activityfactory.create(bundle.get_bundle_id()) else: if not self.get_activities() and bundle_id is None: - logging.warning('No activity can open this object.') + logging.warning('No activity can open this object, %s.' % + self.metadata.get('mime_type', None)) return if bundle_id is None: bundle_id = self.get_activities()[0].bundle_id -- cgit v0.9.1