summaryrefslogtreecommitdiff
path: root/paste/fixture.py
diff options
context:
space:
mode:
authorianb <devnull@localhost>2008-05-02 18:18:38 +0000
committerianb <devnull@localhost>2008-05-02 18:18:38 +0000
commit6a825c6dcaec6e1e15ea0eae264f8617a87c4ce0 (patch)
tree22f6b7b6b9e6d407a27a6e19cefff37e454d40b8 /paste/fixture.py
parenta3e7e40126069492e50c64a34ddc0975d4e9a8d1 (diff)
downloadpaste-6a825c6dcaec6e1e15ea0eae264f8617a87c4ce0.tar.gz
Change the value of no-value checkboxes to 'on' instead of 'checked'
Diffstat (limited to 'paste/fixture.py')
-rw-r--r--paste/fixture.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/paste/fixture.py b/paste/fixture.py
index 45a90c4..b481107 100644
--- a/paste/fixture.py
+++ b/paste/fixture.py
@@ -1230,8 +1230,7 @@ class Checkbox(Field):
def value__get(self):
if self.checked:
if self._value is None:
- # @@: 'on'?
- return 'checked'
+ return 'on'
else:
return self._value
else: