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:
if not self.client.trustSSLServer(trust_dict):
self.client.setException(SubversionSSLTrustError(trust_dict))
return False, 0, False
# XXX SSL server certificate failure bits are not defined in pysvn.
# 0x8 means that the CA is unknown.
return True, 0x8, False
return True, trust_dict['failures'], False
class SSLServerPromptCallback(Callback):
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