commit 788291199d1fc5f29aa12bad051153c4d6b71e66
parent 39ca213bb5267140f38a544b2db3cca3f1d05ff2
Author: Natalie Pendragon <natpen@natpen.net>
Date: Sun, 7 Feb 2021 08:20:26 -0800
Update to Python 3.9 compatibility
Diffstat:
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gus/crawl.py b/gus/crawl.py
@@ -9,7 +9,13 @@ import pickle
import time
from urllib.parse import urljoin, uses_relative, uses_netloc
-import feedparser
+# TODO: this import breaks with Python 3.9, but all code that relies
+# on this code path is currently dead code, so for now I'm just
+# commenting out the import. It would be nice to make an actual
+# decision soon about whether or not feed-based updating is even
+# worth keeping around. If not, the dead code paths could simply
+# deleted, and GUS would get a bit simpler :)
+# import feedparser
import peewee
from . import constants