[Python-modules-commits] [python-pip] 01/02: Use alternative html5lib beta version number.

Barry Warsaw barry at moszumanska.debian.org
Mon Nov 21 23:05:51 UTC 2016


This is an automated email from the git hooks/post-receive script.

barry pushed a commit to branch master
in repository python-pip.

commit 0f249c6999e342e191c93323bdcb6252496e584b
Author: Barry Warsaw <barry at python.org>
Date:   Mon Nov 21 13:27:41 2016 -0500

    Use alternative html5lib beta version number.
    
    This matches what's in the Debian archive.
    
    Patch-Name: html5lib-alternative-beta-name.patch
---
 pip/_vendor/vendor.txt | 2 +-
 pip/index.py           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pip/_vendor/vendor.txt b/pip/_vendor/vendor.txt
index c2917c2..0871ef6 100644
--- a/pip/_vendor/vendor.txt
+++ b/pip/_vendor/vendor.txt
@@ -1,5 +1,5 @@
 distlib==0.2.3
-html5lib==1.0b8
+html5lib==0.999999999-1
 six==1.10.0
 colorama==0.3.7
 requests==2.10.0
diff --git a/pip/index.py b/pip/index.py
index cae4c2d..5dfed36 100644
--- a/pip/index.py
+++ b/pip/index.py
@@ -692,7 +692,7 @@ class HTMLPage(object):
         self.content = content
         self.parsed = html5lib.parse(
             self.content,
-            encoding=encoding,
+            likely_encoding=encoding,
             namespaceHTMLElements=False,
         )
         self.url = url

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-pip.git



More information about the Python-modules-commits mailing list