summaryrefslogtreecommitdiff
path: root/debian/patches/explicit-lxml
diff options
context:
space:
mode:
authorAndrew Shadura <andrewsh@debian.org>2016-10-19 18:40:41 +0200
committerAndrew Shadura <andrewsh@debian.org>2016-10-19 18:40:41 +0200
commit5c6e16a16a2d7c17188cfe6bcccdf62f276c203c (patch)
tree705fe67c540d7948655c94848a25a490a3568a7d /debian/patches/explicit-lxml
parent1e93f16b2d0eb0b9e4db42ac6c376ebf01290c2f (diff)
Bring the patch for #818132 back, upstream's code is still broken.debian/0.15-3
Diffstat (limited to 'debian/patches/explicit-lxml')
-rw-r--r--debian/patches/explicit-lxml13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/patches/explicit-lxml b/debian/patches/explicit-lxml
new file mode 100644
index 0000000..bb49ab3
--- /dev/null
+++ b/debian/patches/explicit-lxml
@@ -0,0 +1,13 @@
+bug#818132
+
+--- a/ofxparse/ofxparse.py
++++ b/ofxparse/ofxparse.py
+@@ -46,7 +46,7 @@
+ skip_headers(fh)
+ try:
+ from bs4 import BeautifulSoup
+- soup = BeautifulSoup(fh, "xml")
++ soup = BeautifulSoup(fh, "lxml")
+ for tag in soup.findAll():
+ tag.name = tag.name.lower()
+ except ImportError: