fix variable redefinition

This commit is contained in:
Romain Bignon 2014-03-30 14:08:20 +02:00
commit c50b6db86d

View file

@ -430,7 +430,7 @@ class IssuePage(NewIssuePage):
else:
# XXX: use _parse_selection()?
olist = div.xpath('.//option[@selected="selected"]')
value = ', '.join([i.attrib['value'] for i in olist])
value = ', '.join([opt.attrib['value'] for opt in olist])
params['fields'][key] = value
params['attachments'] = []