Skip to content

Commit a26d9b9

Browse files
author
tailor
committed
[project @ Fix type kwarg for py 2.2]
1 parent e169111 commit a26d9b9

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎openid/message.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,9 @@ def toFormMarkup(self, action_url, form_tag_attrs=None,
253253
form.attrib['enctype'] = 'application/x-www-form-urlencoded'
254254

255255
for name, value in self.toPostArgs().iteritems():
256-
attrs = dict(type='hidden', name=name, value=value)
256+
attrs = {'type': 'hidden',
257+
'name': name,
258+
'value': value}
257259
form.append(ElementTree.Element('input', attrs))
258260

259261
submit = ElementTree.Element(

0 commit comments

Comments
 (0)