Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2008-11-28 18:40:00 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2008-11-28 18:40:00 (GMT)
commit87becad6a65be91059efff4fb75d342bf4ddd0a1 (patch)
treebc40f9c3c40c97f5c3a9d510cd5b88c44a0204ce
parent3372fa019060d53c5d91ded892d9795926dd1605 (diff)
Mountpoint compatibility hack not needed any more
-rw-r--r--src/olpc/datastore/datastore.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/olpc/datastore/datastore.py b/src/olpc/datastore/datastore.py
index 18e7eb7..cecf860 100644
--- a/src/olpc/datastore/datastore.py
+++ b/src/olpc/datastore/datastore.py
@@ -204,9 +204,6 @@ class DataStore(dbus.service.Object):
entries = []
for uid in uids:
metadata = self._metadata_store.retrieve(uid, properties)
- # Hack because the current journal expects the mountpoint property
- # to be present.
- metadata['mountpoint'] = '1'
entries.append(metadata)
logger.debug('find(): %r' % (time.time() - t))
return entries, count
@@ -231,9 +228,6 @@ class DataStore(dbus.service.Object):
out_signature='a{sv}')
def get_properties(self, uid):
metadata = self._metadata_store.retrieve(uid)
- # Hack because the current journal expects the mountpoint property to be
- # present.
- metadata['mountpoint'] = '1'
return metadata
@dbus.service.method(DS_DBUS_INTERFACE,