Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:chajain:branches:Cloud:Openstack:Master
python-urllib3
python-urllib3-recent-date.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-urllib3-recent-date.patch of Package python-urllib3
From 20175e8cd2056745a6d5978e2f3b15b8e596b6a3 Mon Sep 17 00:00:00 2001 From: Seth Michael Larson <sethmichaellarson@gmail.com> Date: Tue, 2 Jul 2019 23:08:27 -0500 Subject: [PATCH] Update RECENT_DATE to 2019-1-1 --- urllib3/connection.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/urllib3/connection.py b/urllib3/connection.py index 27bc18679..a138bb2a9 100644 --- a/urllib3/connection.py +++ b/urllib3/connection.py @@ -56,11 +56,9 @@ 'https': 443, } -# When updating RECENT_DATE, move it to within two years of the current date, -# and not less than 6 months ago. -# Example: if Today is 2018-01-01, then RECENT_DATE should be any date on or -# after 2016-01-01 (today - 2 years) AND before 2017-07-01 (today - 6 months) -RECENT_DATE = datetime.date(2017, 6, 30) +# When it comes time to update this value as a part of regular maintenance +# (ie test_recent_date is failing) update it to ~6 months before the current date. +RECENT_DATE = datetime.date(2019, 1, 1) class DummyConnection(object):
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