Verified Commit 5087e93e authored by drebs's avatar drebs
Browse files

[doc] add comment to clarify order of results

parent 3fe71d50
......@@ -226,6 +226,7 @@ class SQLiteBlobBackend(object):
results = yield self.dbpool.runQuery(query, values)
if results:
results = dict([(result[0], result[1]) for result in results])
# order results according to blob_ids parameter
results = [(blob_id, results[blob_id]) for blob_id in blob_ids]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment