Modify ↓
Opened 19 years ago
Closed 19 years ago
#2846 closed defect (fixed)
WSGI merge removed `req.args.getlist()`, breaking WebAdmin
Reported by: | Alec Thomas | Owned by: | Christopher Lenz |
---|---|---|---|
Priority: | low | Milestone: | 0.10 |
Component: | general | Version: | devel |
Severity: | minor | Keywords: | webadmin |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
This patch seems to fix it:
-
webadmin/plugin.py
125 125 126 126 def _do_update(self, req): 127 127 """Update component enablement.""" 128 components = req.args .getlist('component')129 enabled = req.args .getlist('enable')128 components = req.args['component'] 129 enabled = req.args['enable'] 130 130 changes = False 131 131 132 132 # FIXME: this needs to be more intelligent and minimize multiple
Attachments (0)
Note:
See TracTickets
for help on using tickets.
I think it'd be better to reintroduce support for
getlist()
andgetvalue()
as described here.