Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/olpc/datastore/datastore.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/olpc/datastore/datastore.py')
-rw-r--r--src/olpc/datastore/datastore.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/olpc/datastore/datastore.py b/src/olpc/datastore/datastore.py
index 1fde4c7..4ca13b6 100644
--- a/src/olpc/datastore/datastore.py
+++ b/src/olpc/datastore/datastore.py
@@ -213,9 +213,9 @@ class DataStore(dbus.service.Object):
@dbus.service.method(DS_DBUS_INTERFACE,
- in_signature='sss',
+ in_signature='sssss',
out_signature='a{sv}s')
- def checkout(self, uid, vid=None, mountpoint=None):
+ def checkout(self, uid, vid=None, mountpoint=None, target=None, dir=None):
"""Check out a revision of a document. Returns the properties
of that version and a filename with the contents of that
version. Generally calls to this should have the mountpoint
@@ -231,7 +231,7 @@ class DataStore(dbus.service.Object):
filename = content.filename
return props, filename
else:
- return mp.checkout(uid, vid)
+ return mp.checkout(uid, vid, target=target, dir=dir)
@dbus.service.method(DS_DBUS_INTERFACE,
in_signature='ssss',