chiark / gitweb /
cgi.py: Don't crash if we have three values for a parameter.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 23 May 2014 17:22:44 +0000 (18:22 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 24 May 2014 21:58:29 +0000 (22:58 +0100)
commit9d6ec9ac56508d35a0f66eb6747782dbc996735a
tree12f125b2989272a0bb38a7c036dda255441a2376
parent74b87214c100957fb37de47a8c58f6c3d8cebf3a
cgi.py: Don't crash if we have three values for a parameter.

The first time we see a parameter, we add it to `PARAMDICT'.  The second
time, we remove it again because it's multivalued.  The third time, we
try to remove it again, and that fails because it's already gone.
cgi.py