quixote/form widget.py,1.42,1.43
David Binger <dbinger-fVcApmY9cLvQ3/1i3zOLAti2O/[email protected]> Mon, 11 Nov 2002 12:24:42 -0500
| Newsgroups | gmane.comp.web.quixote.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /home/cvs/quixote/form
In directory hewson:/tmp/cvs-serv3189
Modified Files:
widget.py
Log Message:
Remove unusual handling of options keyword from OptionSelectWidget.
Index: widget.py
===================================================================
RCS file: /home/cvs/quixote/form/widget.py,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- widget.py 8 Nov 2002 19:17:23 -0000 1.42
+++ widget.py 11 Nov 2002 17:24:39 -0000 1.43
@@ -652,10 +652,6 @@
widget_type = "option_select"
def __init__(self, *args, **kwargs):
- # XXX this garbage should be removed but if changes the API
- if kwargs.has_key("options"):
- kwargs["allowed_values"] = kwargs["options"]
- del kwargs["options"]
SingleSelectWidget.__init__(self, *args, **kwargs)
request = get_request()