Merge lp:~cjwatson/lazr.restfulclient/cgi-parse-qs-deprecated into lp:lazr.restfulclient
Proposed by
Colin Watson
Status: | Merged |
---|---|
Merged at revision: | 130 |
Proposed branch: | lp:~cjwatson/lazr.restfulclient/cgi-parse-qs-deprecated |
Merge into: | lp:lazr.restfulclient |
Diff against target: |
31 lines (+5/-2) 1 file modified
src/lazr/restfulclient/resource.py (+5/-2) |
To merge this branch: | bzr merge lp:~cjwatson/lazr.restfulclient/cgi-parse-qs-deprecated |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Richard Harding | Approve | ||
Review via email: mp+111001@code.launchpad.net |
Commit message
Use parse_qs from urlparse (Python >= 2.6) rather than cgi if available.
Description of the change
Uses of launchpadlib in quantal have a habit of emitting this message (I have PYTHONWARNINGS=
/usr/lib/
params = cgi.parse_
This branch uses urlparse.parse_qs instead if it's available. It shouldn't break compatibility with pre-2.6.
To post a comment you must log in.
Thanks for the update.