From 839134e35a6c656dfab03cd995a90970a18e7d35 Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Fri, 14 Aug 2015 13:42:47 +0200 Subject: [PATCH] ERP5VCS/Subversion : drop hardcoding the failure number. --- product/ERP5VCS/SubversionClient.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/product/ERP5VCS/SubversionClient.py b/product/ERP5VCS/SubversionClient.py index 8e4a44de7f..a170b7a72f 100644 --- a/product/ERP5VCS/SubversionClient.py +++ b/product/ERP5VCS/SubversionClient.py @@ -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): -- 2.30.9