Rev 6459: Grr, the intent of the change is that default value functions for config options should not raise ValueError. in file:///home/vila/src/bzr/bugs/920455-ssl-defaults/

Vincent Ladeuil v.ladeuil+lp at free.fr
Wed Jan 25 16:37:48 UTC 2012


At file:///home/vila/src/bzr/bugs/920455-ssl-defaults/

------------------------------------------------------------
revno: 6459
revision-id: v.ladeuil+lp at free.fr-20120125163748-6xb58tkbc2tc9tpt
parent: v.ladeuil+lp at free.fr-20120125142722-vo8wsx6hsccvmeby
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: 920455-ssl-defaults
timestamp: Wed 2012-01-25 17:37:48 +0100
message:
  Grr, the intent of the change is that default value functions for config options should not raise ValueError.
-------------- next part --------------
=== modified file 'bzrlib/transport/http/_urllib2_wrappers.py'
--- a/bzrlib/transport/http/_urllib2_wrappers.py	2012-01-25 14:27:22 +0000
+++ b/bzrlib/transport/http/_urllib2_wrappers.py	2012-01-25 16:37:48 +0000
@@ -105,8 +105,6 @@
     elif sys.platform == 'sunos5':
         # XXX: Needs checking, can't trust the interweb ;) -- vila 2012-01-25
         path = u'/etc/openssl/certs/ca-certificates.crt'
-    if not os.path.exists(path):
-        raise ValueError("default ca certs path %s does not exist" % path)
     return path
 
 



More information about the bazaar-commits mailing list