Merge lp://staging/~barry/lazr.restfulclient/bug-797281 into lp://staging/lazr.restfulclient
Proposed by
Barry Warsaw
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 116 | ||||
Proposed branch: | lp://staging/~barry/lazr.restfulclient/bug-797281 | ||||
Merge into: | lp://staging/lazr.restfulclient | ||||
Diff against target: |
15 lines (+4/-1) 1 file modified
src/lazr/restfulclient/_browser.py (+4/-1) |
||||
To merge this branch: | bzr merge lp://staging/~barry/lazr.restfulclient/bug-797281 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
j.c.sackett (community) | Approve | ||
Review via email: mp+64894@code.staging.launchpad.net |
Description of the change
This works around LP: #797281 which is required in Oneiric. httplib2 0.7.0 added a feature to do SSL certificate validation, enabled by default, but lazr.restfulclient can't handle this. The workaround allows people to continue working with the same validation they had before (i.e. none ;). I'll file a new feature bug to support the cert validation.
To post a comment you must log in.
Barry--
Looks fine, thanks.
=== modified file 'src/lazr/ restfulclient/ _browser. py' restfulclient/ _browser. py 2010-07-19 14:15:11 +0000 restfulclient/ _browser. py 2011-06-16 20:11:13 +0000
--- src/lazr/
+++ src/lazr/
@@ -106,7 +106,10 @@
def __init__(self, authorizer=None, cache=None, timeout=None,
proxy_ info=None) :
super( RestfulHttp, self).__init__(
disable_ ssl_certificate _validation= True)
self. authorizer = authorizer
self. authorizer. authorizeSessio n(self)
+ # XXX: Barry Warsaw 2011-06-16 bug=797281 ssl_certification
+ # must be disabled for lazr.restfulclient.
cache, timeout, proxy_info,
- # LP: #797281
if self.authorizer is not None: