# HG changeset patch # User Goffi # Date 1574106578 -3600 # Node ID 89736353f6be5cec31147d8e3c57014594ac0451 # Parent 412d26a9b2c2363c88d8ab0f0b65972f3eda345a install sat_tmp's twisted patches for Python 3.8 compatibility diff -r 412d26a9b2c2 -r 89736353f6be twisted/plugins/pubsub.py --- a/twisted/plugins/pubsub.py Tue Oct 08 12:04:13 2019 +0200 +++ b/twisted/plugins/pubsub.py Mon Nov 18 20:49:38 2019 +0100 @@ -50,19 +50,22 @@ # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +import sys import csv -import sat_pubsub -import sys +from os.path import expanduser, realpath +import configparser +# patch for Python 3.8 compatibility +from sat_tmp.twisted import install as install_twisted_patches +install_twisted_patches() +from zope.interface import implementer from twisted.application.service import IServiceMaker from twisted.application import service from twisted.python import usage, log +from twisted.plugin import IPlugin from twisted.words.protocols.jabber.jid import JID -from twisted.plugin import IPlugin +import sat_pubsub -from zope.interface import implementer -from os.path import expanduser, realpath -import configparser def coerceListType(value):