fix variable redefinition
This commit is contained in:
parent
bfd09a2383
commit
c50b6db86d
1 changed files with 1 additions and 1 deletions
|
|
@ -430,7 +430,7 @@ class IssuePage(NewIssuePage):
|
||||||
else:
|
else:
|
||||||
# XXX: use _parse_selection()?
|
# XXX: use _parse_selection()?
|
||||||
olist = div.xpath('.//option[@selected="selected"]')
|
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['fields'][key] = value
|
||||||
|
|
||||||
params['attachments'] = []
|
params['attachments'] = []
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue