mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Remove polyglot.builtins import from metadata sources since it is not available in older calibre codebases
This commit is contained in:
parent
be00d40d02
commit
3766f43360
@ -6,7 +6,6 @@ from __future__ import absolute_import, division, print_function, unicode_litera
|
||||
|
||||
import re
|
||||
from collections import deque
|
||||
from polyglot.builtins import map
|
||||
|
||||
from calibre.utils.icu import capitalize, lower, upper
|
||||
|
||||
|
@ -8,7 +8,6 @@ __copyright__ = '2011, Kovid Goyal <kovid@kovidgoyal.net>'
|
||||
__docformat__ = 'restructuredtext en'
|
||||
|
||||
import re, threading
|
||||
from polyglot.builtins import map
|
||||
|
||||
from calibre import browser, random_user_agent
|
||||
from calibre.customize import Plugin
|
||||
|
@ -8,7 +8,6 @@ import json
|
||||
import re
|
||||
import time
|
||||
from collections import defaultdict, namedtuple
|
||||
from polyglot.builtins import map
|
||||
from urllib import quote_plus, urlencode
|
||||
from urlparse import parse_qs
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user