コード例 #1
0
ファイル: tasks.py プロジェクト: asd617140123/mongo-c-driver
 def _check_allowed(self):
     both_or_neither(self.ssl == 'winssl', self.sasl == 'sspi')
     if not self.sasl:
         require(self.ssl == 'openssl')
コード例 #2
0
ファイル: tasks.py プロジェクト: jmikola/mongo-c-driver
 def _check_allowed(self):
     both_or_neither(self.ssl == 'winssl', self.sasl == 'sspi')
     if not self.sasl:
         require(self.ssl == 'openssl')