Commit 14f04001 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki Committed by wenjie.zheng

ERP5VCS/Subversion : drop hardcoding the failure number.

parent eea71780
...@@ -158,9 +158,7 @@ try: ...@@ -158,9 +158,7 @@ try:
if not self.client.trustSSLServer(trust_dict): if not self.client.trustSSLServer(trust_dict):
self.client.setException(SubversionSSLTrustError(trust_dict)) self.client.setException(SubversionSSLTrustError(trust_dict))
return False, 0, False return False, 0, False
# XXX SSL server certificate failure bits are not defined in pysvn. return True, trust_dict['failures'], False
# 0x8 means that the CA is unknown.
return True, 0x8, False
class SSLServerPromptCallback(Callback): class SSLServerPromptCallback(Callback):
def __call__(self): def __call__(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment