Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:Update
python-requests.34009
03-v2.20.0...v2.20.1.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 03-v2.20.0...v2.20.1.patch of Package python-requests.34009
From a1f4e62aa4724bffbc3e35b960afc26302442af1 Mon Sep 17 00:00:00 2001 From: Nate Prewitt <Nate.Prewitt@gmail.com> Date: Thu, 18 Oct 2018 08:58:48 -0700 Subject: [PATCH 1/7] fix broken HISTORY.md reference --- requests/utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- a/requests/utils.py +++ b/requests/utils.py @@ -36,6 +36,8 @@ DEFAULT_CA_BUNDLE_PATH = certs.where() DEFAULT_PORTS = {'http': 80, 'https': 443} +DEFAULT_PORTS = {'http': 80, 'https': 443} + def dict_to_sequence(d): """Returns an internal sequence dictionary update.""" @@ -163,7 +165,7 @@ def from_key_val_list(value): >>> from_key_val_list([('key', 'val')]) OrderedDict([('key', 'val')]) >>> from_key_val_list('string') - ValueError: need more than 1 value to unpack + ValueError: cannot encode objects that are not 2-tuples >>> from_key_val_list({'key': 'val'}) OrderedDict([('key', 'val')])
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor