Increment later

This commit is contained in:
Travis Shirk 2006-01-07 20:26:08 +00:00
parent b44469ba19
commit 650cba6b16
1 changed files with 1 additions and 1 deletions

View File

@ -1265,10 +1265,10 @@ class Connection:
dic[i]['options'][j]['values'] = [] dic[i]['options'][j]['values'] = []
for tag in tags: for tag in tags:
dic[i]['options'][j]['values'].append(tag.getData()) dic[i]['options'][j]['values'].append(tag.getData())
j += 1
if not label: if not label:
label = dic[i]['options'][j]['values'][0] label = dic[i]['options'][j]['values'][0]
dic[i]['options'][j]['label'] = label dic[i]['options'][j]['label'] = label
j += 1
if not dic[i].has_key('values'): if not dic[i].has_key('values'):
dic[i]['values'] = [dic[i]['options'][0]['values'][0]] dic[i]['values'] = [dic[i]['options'][0]['values'][0]]
i += 1 i += 1