From e6ef09084eeeae7ec4e53c7bc91cd09acdab8cbf Mon Sep 17 00:00:00 2001 From: Patrick Creech Date: Thu, 11 Jul 2024 14:20:49 -0400 Subject: [PATCH] Update developer sync to work with feedparser 6 feedparser 6 went through some refactorings, this updates rss.py to use the new location of _HTMLSanitizer --- roles/developer/build/files/rss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/developer/build/files/rss.py b/roles/developer/build/files/rss.py index ce0f575594..c57fb159a5 100644 --- a/roles/developer/build/files/rss.py +++ b/roles/developer/build/files/rss.py @@ -9,7 +9,7 @@ import feedparser import re import sys -feedparser._HTMLSanitizer.unacceptable_elements_with_end_tag.add('
') +feedparser.sanitizer._HTMLSanitizer.unacceptable_elements_with_end_tag.add('
') defenc = "utf-8" if sys.getdefaultencoding() == "ascii" else sys.getdefaultencoding()