Skip to content

Commit

Permalink
Merge "Add ssl_version to the list of attributes, required when vnc_a…
Browse files Browse the repository at this point in the history
…pi gets called via multiprocessing module. This will ensure ssl_version gets included when pickle calls __getstate__ and __setstate__."
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Jul 22, 2016
2 parents 24f1d7b + a986b64 commit 81ff67e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/config/common/ssl_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
class SSLAdapter(HTTPAdapter):
'''An HTTPS Transport Adapter that can be configured with SSL/TLS
version.'''
HTTPAdapter.__attrs__.extend(['ssl_version'])

def __init__(self, ssl_version=None, **kwargs):
self.ssl_version = ssl_version
Expand Down

0 comments on commit 81ff67e

Please sign in to comment.