diff options
author | Simon McVittie <smcv@collabora.com> | 2021-09-14 16:48:18 +0100 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2021-09-15 18:49:14 +0100 |
commit | 98cbe2b3ace53ef70738345548402cb4e74a4db7 (patch) | |
tree | 8214142a629fc4d45b0fc647860b7ae4bd6b9776 /dbus/service.py | |
parent | abd5b946bb2ca9b6c4d2f5e455aaaae5f38946c6 (diff) |
Remove support for Python 2
Python 2 reached EOL on 2020-01-01, and the latest version of
AX_PYTHON_DEVEL breaks the build with Python 2. This seems as good a
time as any to drop compatibility.
Signed-off-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to 'dbus/service.py')
-rw-r--r-- | dbus/service.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/dbus/service.py b/dbus/service.py index 0c8695a..2e13d3c 100644 --- a/dbus/service.py +++ b/dbus/service.py @@ -67,9 +67,6 @@ class _VariantSignature(object): """Return 'v' whenever called.""" return 'v' - if is_py2: - next = __next__ - class BusName(object): """A base class for exporting your own Named Services across the Bus. |