[Python 3]: Hack around __slots__ and properties conflict.
This commit is contained in:
parent
5a9fc81ad9
commit
2c538bd5fe
|
@ -83,7 +83,8 @@ class SecurityOptions (object):
|
|||
C{ValueError} will be raised. If you try to assign something besides a
|
||||
tuple to one of the fields, C{TypeError} will be raised.
|
||||
"""
|
||||
__slots__ = [ 'ciphers', 'digests', 'key_types', 'kex', 'compression', '_transport' ]
|
||||
# TODO: Come up a more elegant fix...
|
||||
#__slots__ = [ 'ciphers', 'digests', 'key_types', 'kex', 'compression', '_transport' ]
|
||||
|
||||
def __init__(self, transport):
|
||||
self._transport = transport
|
||||
|
|
Loading…
Reference in New Issue