Ensure self._der_cert exists even if no certs are used.

This commit is contained in:
Lance Stout 2012-08-04 21:37:46 -07:00
parent 80a90a6221
commit 8c2ece3bca

View file

@ -147,6 +147,8 @@ class XMLStream(object):
#: client certificate to use for authenticating via SASL EXTERNAL. #: client certificate to use for authenticating via SASL EXTERNAL.
self.keyfile = None self.keyfile = None
self._der_cert = None
#: The time in seconds to wait for events from the event queue, #: The time in seconds to wait for events from the event queue,
#: and also the time between checks for the process stop signal. #: and also the time between checks for the process stop signal.
self.wait_timeout = WAIT_TIMEOUT self.wait_timeout = WAIT_TIMEOUT