add the patch; remove the mistakenly-added src.rpm
This commit is contained in:
parent
91cc1cce3d
commit
fe7e895248
3 changed files with 17 additions and 1 deletions
13
python-lxml-2.2.6-fix-2to3.patch
Normal file
13
python-lxml-2.2.6-fix-2to3.patch
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
diff -up lxml-2.2.6/src/lxml/html/__init__.py.fix-2to3 lxml-2.2.6/src/lxml/html/__init__.py
|
||||
--- lxml-2.2.6/src/lxml/html/__init__.py.fix-2to3 2010-07-26 13:36:42.333672181 -0400
|
||||
+++ lxml-2.2.6/src/lxml/html/__init__.py 2010-07-26 13:36:52.379671732 -0400
|
||||
@@ -823,7 +823,8 @@ def submit_form(form, extra_values=None,
|
||||
def open_http_urllib(method, url, values):
|
||||
## FIXME: should test that it's not a relative URL or something
|
||||
try:
|
||||
- from urllib import urlencode, urlopen
|
||||
+ from urllib import urlencode
|
||||
+ from urllib import urlopen
|
||||
except ImportError: # Python 3
|
||||
from urllib.request import urlopen
|
||||
from urllib.parse import urlencode
|
||||
Loading…
Add table
Add a link
Reference in a new issue