calibre/src/polyglot/plistlib.py
Đoàn Trần Công Danh 238680060c 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.
2020-11-02 07:17:07 +07:00

7 lines
191 B
Python

#!/usr/bin/env python
# vim:fileencoding=utf-8
# License: GPL v3 Copyright: 2019, Kovid Goyal <kovid at kovidgoyal.net>
from plistlib import loads, dumps # noqa
loads_binary_or_xml = loads