[MERGE] Fix bug #229076 by fixing header names before sending the request.
Vincent Ladeuil
v.ladeuil+lp at free.fr
Sun May 18 09:18:28 BST 2008
>>>>> "Matt" == Matt Nordhoff <mnordhoff at mattnordhoff.com> writes:
<snip/>
Matt> Not that it matters, but...
>> + headers = dict((name.title(), val) for name, val in headers.items())
Matt> Why not iteritems()?
Indeed. Nice catch. Thanks.
That was a careless copy/paste from python urllib2. There is
really no need for yet another copy of the headers here.
Fixed and tested before submission to pqm.
Vincent
More information about the bazaar
mailing list