Mercurial > libervia-pubsub
comparison twisted/plugins/pubsub.py @ 439:36c9fb677f1d
removed `sat_tmp.twisted` patches + update minimum Twisted version:
- `sat_tmp` patches are not needed anymore and cause trouble with latest Twisted (21.02)
- update minimum to `20.3.0` which is the first one to support Python 3.8
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 18 Mar 2021 22:23:37 +0100 |
parents | 5e8b8ef5c862 |
children | 074037832daf |
comparison
equal
deleted
inserted
replaced
438:b5e1e8d93dd4 | 439:36c9fb677f1d |
---|---|
53 import sys | 53 import sys |
54 import csv | 54 import csv |
55 import os | 55 import os |
56 from os.path import expanduser, realpath | 56 from os.path import expanduser, realpath |
57 import configparser | 57 import configparser |
58 # patch for Python 3.8 compatibility | |
59 from sat_tmp.twisted import install as install_twisted_patches | |
60 install_twisted_patches() | |
61 from zope.interface import implementer | 58 from zope.interface import implementer |
62 from twisted.application.service import IServiceMaker | 59 from twisted.application.service import IServiceMaker |
63 from twisted.application import service | 60 from twisted.application import service |
64 from twisted.python import usage, log | 61 from twisted.python import usage, log |
65 from twisted.plugin import IPlugin | 62 from twisted.plugin import IPlugin |