14
0

Accepting request 345090 from home:matejcik:urllib3tmp

- re-enable tests, re-add relevant dependencies
  in python 2.7.9 and up
- drop %pre section because apparently "egg-info as file" is no longer
  true and this breaks builds

OBS-URL: https://build.opensuse.org/request/show/345090
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=13
This commit is contained in:
Jan Matejek
2015-11-18 17:46:02 +00:00
committed by Git OBS Bridge
parent 5aad292d93
commit d12858beaa
3 changed files with 13 additions and 10 deletions

View File

@@ -6,7 +6,7 @@ Index: urllib3-1.12/urllib3/util/ssl_.py
if e.errno == errno.ENOENT:
raise SSLError(e)
raise
+ elif cert_reqs != ssl.CERT_NONE:
+ elif cert_reqs != ssl.CERT_NONE and hasattr(context, 'set_default_verify_paths'):
+ context.set_default_verify_paths()
if certfile: