Put dates to work correctly on the journal, create a new journal entry when resuming a past entry.

This commit is contained in:
Tomeu Vizoso
2007-05-20 12:38:08 +02:00
parent 04fc7047c2
commit 11c89d86c9
3 changed files with 7 additions and 2 deletions
+3
View File
@@ -39,6 +39,9 @@ class DSObject(gobject.GObject):
self.metadata[key] = value
self.emit('updated')
def __delitem__(self, key):
del self.metadata[key]
def get_metadata(self):
return self._metadata
+1 -1
View File
@@ -40,7 +40,7 @@ def create(properties, filename):
return object_id
def update(uid, properties, filename, reply_handler=None, error_handler=None):
logging.debug('dbus_helpers.update')
logging.debug('dbus_helpers.update: %s, %s' % (uid, filename))
if reply_handler and error_handler:
_data_store.update(uid, dbus.Dictionary(properties), filename,
reply_handler=reply_handler,