[Python-modules-commits] r27445 - in packages/requests/trunk/debian (2 files)
eriol-guest at users.alioth.debian.org
eriol-guest at users.alioth.debian.org
Mon Jan 27 03:13:58 UTC 2014
Date: Monday, January 27, 2014 @ 03:13:57
Author: eriol-guest
Revision: 27445
Refreshed 02_use-system-chardet-and-urllib3.patch
Modified:
packages/requests/trunk/debian/changelog
packages/requests/trunk/debian/patches/02_use-system-chardet-and-urllib3.patch
Modified: packages/requests/trunk/debian/changelog
===================================================================
--- packages/requests/trunk/debian/changelog 2014-01-27 01:52:51 UTC (rev 27444)
+++ packages/requests/trunk/debian/changelog 2014-01-27 03:13:57 UTC (rev 27445)
@@ -1,8 +1,10 @@
requests (2.2.1-1) UNRELEASED; urgency=medium
* New upstream release
+ * debian/patches/02_use-system-chardet-and-urllib3.patches
+ - Refreshed
- -- Daniele Tricoli <eriol at mornie.org> Mon, 27 Jan 2014 02:27:47 +0100
+ -- Daniele Tricoli <eriol at mornie.org> Mon, 27 Jan 2014 04:11:39 +0100
requests (2.0.0-1) unstable; urgency=low
Modified: packages/requests/trunk/debian/patches/02_use-system-chardet-and-urllib3.patch
===================================================================
--- packages/requests/trunk/debian/patches/02_use-system-chardet-and-urllib3.patch 2014-01-27 01:52:51 UTC (rev 27444)
+++ packages/requests/trunk/debian/patches/02_use-system-chardet-and-urllib3.patch 2014-01-27 03:13:57 UTC (rev 27445)
@@ -2,11 +2,11 @@
embedded copies.
Author: Daniele Tricoli <eriol at mornie.org>
Forwarded: not-needed
-Last-Update: 2013-10-17
+Last-Update: 2014-01-27
--- a/requests/adapters.py
+++ b/requests/adapters.py
-@@ -11,17 +11,17 @@
+@@ -11,18 +11,18 @@
import socket
from .models import Response
@@ -24,12 +24,14 @@
-from .packages.urllib3.exceptions import TimeoutError
-from .packages.urllib3.exceptions import SSLError as _SSLError
-from .packages.urllib3.exceptions import HTTPError as _HTTPError
+-from .packages.urllib3.exceptions import ProxyError as _ProxyError
+from urllib3.exceptions import MaxRetryError
+from urllib3.exceptions import TimeoutError
+from urllib3.exceptions import SSLError as _SSLError
+from urllib3.exceptions import HTTPError as _HTTPError
++from urllib3.exceptions import ProxyError as _ProxyError
from .cookies import extract_cookies_to_jar
- from .exceptions import ConnectionError, Timeout, SSLError
+ from .exceptions import ConnectionError, Timeout, SSLError, ProxyError
from .auth import _basic_auth_str
--- a/requests/compat.py
+++ b/requests/compat.py
@@ -37,7 +39,7 @@
pythoncompat
"""
--from .packages import charade as chardet
+-from .packages import chardet
+import chardet
import sys
@@ -53,17 +55,21 @@
builtin_str = str
--- a/requests/models.py
+++ b/requests/models.py
-@@ -17,8 +17,8 @@
+@@ -17,10 +17,10 @@
from .auth import HTTPBasicAuth
from .cookies import cookiejar_from_dict, get_cookie_header
+-from .packages.urllib3.fields import RequestField
-from .packages.urllib3.filepost import encode_multipart_formdata
-from .packages.urllib3.util import parse_url
+-from .packages.urllib3.exceptions import DecodeError
++from urllib3.fields import RequestField
+from urllib3.filepost import encode_multipart_formdata
+from urllib3.util import parse_url
++from urllib3.exceptions import DecodeError
from .exceptions import (
HTTPError, RequestException, MissingSchema, InvalidURL,
- ChunkedEncodingError)
+ ChunkedEncodingError, ContentDecodingError)
--- a/setup.py
+++ b/setup.py
@@ -16,12 +16,6 @@
@@ -71,7 +77,7 @@
packages = [
'requests',
- 'requests.packages',
-- 'requests.packages.charade',
+- 'requests.packages.chardet',
- 'requests.packages.urllib3',
- 'requests.packages.urllib3.packages',
- 'requests.packages.urllib3.contrib',
More information about the Python-modules-commits
mailing list