Guard use of reconCandidates

which existed only up to Refine 2.0
This commit is contained in:
Paul Makepeace 2011-06-23 09:50:56 +00:00
parent a9066491a7
commit 4405e4a9b1
1 changed files with 9 additions and 7 deletions

View File

@ -249,6 +249,8 @@ def RowsResponseFactory(column_index):
# # c for candidates. Indexes into self.recon_candidates # # c for candidates. Indexes into self.recon_candidates
# "c": ["/domain/type/id", ...] # "c": ["/domain/type/id", ...]
#} #}
# Recon data structure changed after Refine 2.0
if 'reconCandidates' in self.pool:
self.recon_candidates = self.pool['reconCandidates'] self.recon_candidates = self.pool['reconCandidates']
#"/domain/type/id": { #"/domain/type/id": {
# "id": "/domain/type/id", # "id": "/domain/type/id",