Skip to content
Myr

Slight refactor

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Johannes · committed by Johannes · parent 2f60748 · Browse files · 2 files+4 added−5 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+4 added−5 removed

  • other:+4 added−5 removed

2 files+4 added−5 removed

modified:requests/core.py+1 added-1 removed
20 unmodified lines
2122from models import HTTPError, auth_manager23from api import *24from exceptions import *25from settings import settings25from settings import Settings as settings
modified:requests/settings.py+3 added-4 removed
6 unmodified lines
7This module provides the Requests settings feature set.89"""1011# Time (in seconds) to allow the request to connect to12# the remote host before timing it out.13timeout = None1415class Settings(object):1617 def __init__(self, **settings):
17 unmodified lines
3536 def _restore_settings(self):37 for setting, value in self.cache.items():38 globals()[setting] = value363738settings = Settings39timeout = None