DenormalizedRelation: fix bug in fast_query single thing2 case.

This commit is contained in:
Neil Williams
2012-12-01 17:03:21 -08:00
parent 6e7c3d697c
commit cadc79f517

View File

@@ -936,7 +936,7 @@ class DenormalizedRelation(object):
else:
if results:
assert len(results) == 1
return results[0]
return results.values()[0]
else:
raise NotFound("<%s %r>" % (cls.__name__, (thing1._id36,
thing2._id36)))