Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--src/olpc/datastore/backingstore.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 045f648..00b1fc5 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+* #3324: Fix updates of entries with associated files. (tomeu)
+
Snapshot 617bf5d005
* Index metadata on async updates. (tomeu)
diff --git a/src/olpc/datastore/backingstore.py b/src/olpc/datastore/backingstore.py
index 38a4e21..e3ed682 100644
--- a/src/olpc/datastore/backingstore.py
+++ b/src/olpc/datastore/backingstore.py
@@ -518,7 +518,7 @@ class FileBackingStore(BackingStore):
props['uid'] = uid
if filelike:
- self.indexmanager.index(props, path)
+ self.indexmanager.index(props, filelike)
if isinstance(filelike, basestring):
# lets treat it as a filename
filelike = open(filelike, "r")