Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/olpc/datastore/backingstore.py
diff options
context:
space:
mode:
authorBenjamin Saller <bcsaller@objectrealms.net>2007-07-22 17:30:59 (GMT)
committer Benjamin Saller <bcsaller@objectrealms.net>2007-07-22 17:30:59 (GMT)
commitab19f19116433362051e988a9e5709018f5c4ad0 (patch)
tree6037b7a121768e08446e0fbb6e5496408b75b820 /src/olpc/datastore/backingstore.py
parentf0bffbf7a8357b6c38ebe09d1b81d7faadca588c (diff)
fix #2381
the new implementation of xapianindex violated the contract with backingstore here based on what the old index layer did. There is a test now covering this case and the issue is fixed
Diffstat (limited to 'src/olpc/datastore/backingstore.py')
-rw-r--r--src/olpc/datastore/backingstore.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/olpc/datastore/backingstore.py b/src/olpc/datastore/backingstore.py
index f317983..13ec2ee 100644
--- a/src/olpc/datastore/backingstore.py
+++ b/src/olpc/datastore/backingstore.py
@@ -488,7 +488,7 @@ class InplaceFileBackingStore(FileBackingStore):
def get(self, uid, env=None, allowMissing=False):
content = self.indexmanager.get(uid)
if not content: raise KeyError(uid)
- return content.get_property('filename')
+ return content
def update(self, uid, props, filelike=None):
# the file would have already been changed inplace