Browse Source

python-lxml package update (with python3 support)

Signed-off-by: basebuilder_pel7x64builder0 <basebuilder@powerel.org>
master
basebuilder_pel7x64builder0 6 years ago
parent
commit
5d19567dc9
  1. 15
      SOURCES/python-lxml-iterparse.patch
  2. 1202
      SPECS/python-lxml.spec

15
SOURCES/python-lxml-iterparse.patch

@ -0,0 +1,15 @@ @@ -0,0 +1,15 @@
diff -up lxml-3.2.1/src/lxml/iterparse.pxi.orig lxml-3.2.1/src/lxml/iterparse.pxi
--- lxml-3.2.1/src/lxml/iterparse.pxi.orig 2013-03-29 21:50:04.000000000 +0100
+++ lxml-3.2.1/src/lxml/iterparse.pxi 2013-07-11 17:33:02.859572207 +0200
@@ -457,7 +457,10 @@ cdef class iterparse(_BaseParser):
return context
cdef _close_source(self):
- if self._source is None or not self._close_source_after_read:
+ if self._source is None:
+ return
+ if not self._close_source_after_read:
+ self._source = None
return
try:
close = self._source.close

1202
SPECS/python-lxml.spec

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save