mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-11-21 05:53:03 -05:00
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.
7 lines
191 B
Python
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
|