summaryrefslogtreecommitdiff
path: root/paste/fixture.py
diff options
context:
space:
mode:
authorpjenvey <devnull@localhost>2006-06-16 21:15:13 +0000
committerpjenvey <devnull@localhost>2006-06-16 21:15:13 +0000
commit26b00e6bd43106b85613e8f0d627d8b54ab5f1eb (patch)
tree5ab404e2ddd6f56b879ad65b59cf7935edf82f6b /paste/fixture.py
parentb8b4aab739573d5dbae9d3d771d2c431138c5dd9 (diff)
downloadpaste-26b00e6bd43106b85613e8f0d627d8b54ab5f1eb.tar.gz
fixed typo preventing parsing of html forms containing radio buttons
submitted by: Jonas Borgstrom resolves: #115
Diffstat (limited to 'paste/fixture.py')
-rw-r--r--paste/fixture.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/fixture.py b/paste/fixture.py
index ca29204..e35c24e 100644
--- a/paste/fixture.py
+++ b/paste/fixture.py
@@ -825,7 +825,7 @@ class Form(object):
'selected' in attrs))
continue
if tag == 'input' and attrs.get('type') == 'radio':
- field = self.fields.get(name)
+ field = fields.get(name)
if not field:
field = Radio(self, tag, name, match.start(), **attrs)
fields.setdefault(name, []).append(field)