From d262cc5c0f9168fc07f9c844600ec06d8330a21e Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 4 Dec 2022 00:45:07 +0000 Subject: user/py3-pyirc: Update for new taillight Fixes: #906 --- user/py3-pyirc/new-taillight.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 user/py3-pyirc/new-taillight.patch (limited to 'user/py3-pyirc/new-taillight.patch') diff --git a/user/py3-pyirc/new-taillight.patch b/user/py3-pyirc/new-taillight.patch new file mode 100644 index 000000000..51ca7f8e0 --- /dev/null +++ b/user/py3-pyirc/new-taillight.patch @@ -0,0 +1,21 @@ +Update priority enum for Taillight >= 0.4. + +--- py3-pyirc-3.0b1_git20190929/PyIRC/signal.py.old 2019-09-29 17:01:50.000000000 +0000 ++++ py3-pyirc-3.0b1_git20190929/PyIRC/signal.py 2022-12-04 00:44:03.697227554 +0000 +@@ -12,14 +12,14 @@ + from inspect import getmembers + from logging import getLogger + +-from taillight.signal import UnsharedSignal ++from taillight.signal import SignalPriority, UnsharedSignal + from taillight import ANY + + + _logger = getLogger(__name__) # pylint: disable=invalid-name + + +-def event(hclass, event_name, priority=UnsharedSignal.PRIORITY_NORMAL, ++def event(hclass, event_name, priority=SignalPriority.PRIORITY_NORMAL, + listener=ANY): + """Tag a function as an event for later binding. + -- cgit v1.2.3-70-g09d2