Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2007-03-01 18:23:29 (GMT)
committer Dan Williams <dcbw@redhat.com>2007-03-01 18:23:29 (GMT)
commita3e2803eb876fea7aa58f65b4fdba9cc656f143a (patch)
tree10b3ce47102f416af86b601b6cf6391dd5705804 /services
parent97d719f795ed8d07a62ef8f9356a5eb5e9e1d507 (diff)
Clue dbus-python into the return type of get_data()
Diffstat (limited to 'services')
-rw-r--r--services/datastore/datastore.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/datastore/datastore.py b/services/datastore/datastore.py
index 573c8fd..4857675 100644
--- a/services/datastore/datastore.py
+++ b/services/datastore/datastore.py
@@ -136,7 +136,7 @@ class ObjectDBusHelper(dbus_helpers.FallbackObject):
if not dbus_object_path:
raise RuntimeError("Need the dbus object path.")
uid = _get_uid_from_op(dbus_object_path)
- return self._parent.get_data(uid)
+ return dbus.ByteArray(self._parent.get_data(uid))
@dbus_helpers.method(_DS_OBJECT_DBUS_INTERFACE,
in_signature="ay", out_signature="i", object_path_keyword="dbus_object_path")