mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Remove vendored copy of feedparser
This commit is contained in:
parent
362a3f4088
commit
0c77b8503a
@ -38,6 +38,19 @@ if not _run_once:
|
||||
|
||||
sys.meta_path.insert(0, PyQt4Ban())
|
||||
|
||||
class DeVendor(object):
|
||||
|
||||
def find_module(self, fullname, path=None):
|
||||
if fullname == 'calibre.web.feeds.feedparser':
|
||||
return self
|
||||
|
||||
def load_module(self, fullname):
|
||||
if fullname == 'calibre.web.feeds.feedparser':
|
||||
from importlib import import_module
|
||||
return import_module('feedparser')
|
||||
|
||||
sys.meta_path.insert(0, DeVendor())
|
||||
|
||||
#
|
||||
# Platform specific modules
|
||||
if iswindows:
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user