# HG changeset patch # User Goffi # Date 1616103275 -3600 # Node ID 67508db07ea0a293107109b1e9353b645fc5f941 # Parent 4b08108560e334e9a4cb60365dfb6a99ce565ff6 wokkel: workaround to make Wokkel work with latest version of Twisted: Latest version of Twisted has dropped Python 2.7 support, and thus removed `python.compat._PY3`. This patch works around this by settings it to True. diff -r 4b08108560e3 -r 67508db07ea0 sat_tmp/wokkel/__init__.py --- a/sat_tmp/wokkel/__init__.py Thu Mar 18 20:53:11 2021 +0100 +++ b/sat_tmp/wokkel/__init__.py Thu Mar 18 22:34:35 2021 +0100 @@ -20,6 +20,8 @@ def install(): """Monkey patch Wokkel to have improvments implemented here""" + from twisted.python import compat + compat._PY3 = True import wokkel from . import pubsub, rsm, mam, data_form wokkel.pubsub = pubsub