[Pkg-privacy-commits] [tails-installer] 187/210: Fix runtime errors in the release parser
Intrigeri
intrigeri at moszumanska.debian.org
Wed May 24 15:26:44 UTC 2017
This is an automated email from the git hooks/post-receive script.
intrigeri pushed a commit to tag 3.90.0
in repository tails-installer.
commit c7bbd92adecb3cdf5f8ca6e7191bbdb7cc7fa080
Author: Martin Briza <mbriza at redhat.com>
Date: Mon Oct 26 13:49:09 2015 +0100
Fix runtime errors in the release parser
---
liveusb/releases.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/liveusb/releases.py b/liveusb/releases.py
index ba848bf..39758f3 100644
--- a/liveusb/releases.py
+++ b/liveusb/releases.py
@@ -175,7 +175,7 @@ def getProductDetails(url, name):
i = i.parent().parent()('blockquote')
product['description'] += '<blockquote>'
product['description'] += str(i('p'))
- product['description'] += '<p align=right> ― <em>' + i('cite').html() + '</em></p>'
+ product['description'] += u'<p align=right> ― <em>' + i('cite').html() + '</em></p>'
product['description'] += '</blockquote>'
elif i.html() and len(i.html()) > 0: # can't remove empty tags with :empty for some reason
product['description'] += str(i)
@@ -212,7 +212,7 @@ def getProducts(url='https://getfedora.org/'):
productName = i('h4').html()
if productName != "Cloud":
- products.append(getProductDetails(productUrl, prductName))
+ products.append(getProductDetails(productUrl, productName))
return products
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/tails-installer.git
More information about the Pkg-privacy-commits
mailing list