Merge lp:~toshio/bzr/python27-lp-fix into lp:bzr
| Status: | Merged |
|---|---|
| Approved by: | Martin Pool on 2010-09-15 |
| Approved revision: | 5396 |
| Merged at revision: | 5439 |
| Proposed branch: | lp:~toshio/bzr/python27-lp-fix |
| Merge into: | lp:bzr |
| Diff against target: |
53 lines (+24/-1) 2 files modified
NEWS (+3/-0) bzrlib/transport/http/_urllib2_wrappers.py (+21/-1) |
| To merge this branch: | bzr merge lp:~toshio/bzr/python27-lp-fix |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Martin Pool | 2010-09-14 | Approve on 2010-09-15 | |
|
Review via email:
|
|||
Commit Message
Fix traceback with python 2.7's xmlrpclib.
Description of the Change
Fixes a problem running on python-2.7.
| Martin Pool (mbp) wrote : | # |
| Toshio Kuratomi (toshio) wrote : | # |
That's a typo. Figuring out what it does need to return now.
- 5396. By Toshio Kuratomi on 2010-09-15
-
Fix typo in implementation of python-2.7 xmlrpclib fix and add comment + entry in NEWS
| Toshio Kuratomi (toshio) wrote : | # |
New revision pushed -- corrects the return value, adds a class docstring to explain why we need it, and adds an entry to NEWS.
| Martin Pool (mbp) wrote : | # |
It would be nice to have a test that would have failed when your typo was present. I guess that would require running up a real listening xmlrpc server, which is perhaps a bit more work...
I might give people a chance to object and say that's easy to do, otherwise let's merge it.
It would be worth manually testing it still works on at least one of python2.[456].
| Martin Pool (mbp) wrote : | # |
This does seem to work for me on python 2.6.6
| Andrew Bennetts (spiv) wrote : | # |
sent to pqm by email

Thanks. It would be good to have a comment in the class explaining with a link why we need this.
+ return self.headers/ getheader( name, default)
Is that really true? It overrides /?
Also we need news.