mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-03 15:08:40 +00:00
Restore PY2 for 3rd-party plugins
Restored PY2 to avoid breaking compatibility with plugins that imported PY2 from common. Ref: https://bitbucket.org/bendikro/deluge-yarss-plugin/issues/67/deluge-210-removed-all-py2-support
This commit is contained in:
parent
d2390cd247
commit
6da4c4bf66
1 changed files with 3 additions and 0 deletions
|
@ -75,6 +75,9 @@ JSON_FORMAT = {'indent': 4, 'sort_keys': True, 'ensure_ascii': False}
|
||||||
DBUS_FM_ID = 'org.freedesktop.FileManager1'
|
DBUS_FM_ID = 'org.freedesktop.FileManager1'
|
||||||
DBUS_FM_PATH = '/org/freedesktop/FileManager1'
|
DBUS_FM_PATH = '/org/freedesktop/FileManager1'
|
||||||
|
|
||||||
|
# Retained for plugin backward compatibility
|
||||||
|
PY2 = False
|
||||||
|
|
||||||
|
|
||||||
def get_version():
|
def get_version():
|
||||||
"""The program version from the egg metadata.
|
"""The program version from the egg metadata.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue