From b0b4c4115a26b0f199ca2ce9d5f3f1df830dd455 Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Tue, 11 Sep 2007 10:15:40 +0000 Subject: #3324: Fix updates of entries with associated files. --- 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") -- cgit v0.9.1