def _check_allowed(self): both_or_neither(self.ssl == 'winssl', self.sasl == 'sspi') if not self.sasl: require(self.ssl == 'openssl')
def _check_allowed(self): both_or_neither(self.ssl == 'winssl', self.sasl == 'sspi') if not self.sasl: require(self.ssl == 'openssl')