Browse Source

Update to Python 3.9 compatibility

master
Natalie Pendragon 8 months ago
parent
commit
788291199d
  1. 8
      gus/crawl.py

8
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

Loading…
Cancel
Save