mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
polyglot: don't try to import plistlib.Data
plistlib.Data is deprecated from Python 3.4 and fully removed in Python 3.9. Skimming over the code, it's look like nothing uses this data structure. Let's remove it.
This commit is contained in:
parent
3278603c6b
commit
238680060c
@ -2,5 +2,5 @@
|
|||||||
# vim:fileencoding=utf-8
|
# vim:fileencoding=utf-8
|
||||||
# License: GPL v3 Copyright: 2019, Kovid Goyal <kovid at kovidgoyal.net>
|
# License: GPL v3 Copyright: 2019, Kovid Goyal <kovid at kovidgoyal.net>
|
||||||
|
|
||||||
from plistlib import loads, dumps, Data # noqa
|
from plistlib import loads, dumps # noqa
|
||||||
loads_binary_or_xml = loads
|
loads_binary_or_xml = loads
|
||||||
|
Loading…
x
Reference in New Issue
Block a user