Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=homepage-ng.git;a=commitdiff;h=228e296e6117ba5d27e11ec64be05da6dfea7a91

commit 228e296e6117ba5d27e11ec64be05da6dfea7a91
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Tue Feb 12 13:04:09 2008 +0100

posthook-security: .replace('&quot;', '"')

diff --git a/frugalware/darcs-posthook-security.py 
b/frugalware/darcs-posthook-security.py
index 8078413..7b39ea3 100644
--- a/frugalware/darcs-posthook-security.py
+++ b/frugalware/darcs-posthook-security.py
@@ -27,7 +27,7 @@ class fsa:
self.unaffected = 
xmldoc.getElementsByTagName('unaffected')[0].firstChild.toxml()
self.bts = xmldoc.getElementsByTagName('bts')[0].firstChild.toxml()
self.cve = xmldoc.getElementsByTagName('cve')[0].firstChild.toxml()
-               self.desc = re.sub(r'\n\t+', r'\n', 
xmldoc.getElementsByTagName('desc')[0].firstChild.toxml())
+               self.desc = re.sub(r'\n\t+', r'\n', 
xmldoc.getElementsByTagName('desc')[0].firstChild.toxml()).replace('&quot;', 
'"')
self.subject = "[ FSA-%s ] %s" % (self.id, self.package)
self.comment = "See http://ftp.frugalware.org/pub/README.GPG for info"
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to