|
Revision 23252, 0.5 kB
(checked in by exarkun, 1 year ago)
|
Merge twistd-non-deprecation-3127-2
Author: exarkun
Reviewer: therve
Fixes #3127
Promote the PendingDeprecationWarning? in twisted.scripts.mktap to a
DeprecationWarning?. Change twisted.scripts._twistd_unix so that it
does not import twisted.scripts.mktap (triggering the deprecation),
and change the tap plugin definitions to use a new, public API for
creating IServiceMaker plugins instead of using the private API from
twisted.scripts.mktap.
|
| Line | |
|---|
| 1 |
|
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
from twisted.application.service import ServiceMaker |
|---|
| 5 |
|
|---|
| 6 |
TwistedSSH = ServiceMaker( |
|---|
| 7 |
"Twisted Conch Server", |
|---|
| 8 |
"twisted.conch.tap", |
|---|
| 9 |
"A Conch SSH service.", |
|---|
| 10 |
"conch") |
|---|
| 11 |
|
|---|
| 12 |
TwistedManhole = ServiceMaker( |
|---|
| 13 |
"Twisted Manhole (new)", |
|---|
| 14 |
"twisted.conch.manhole_tap", |
|---|
| 15 |
("An interactive remote debugger service accessible via telnet " |
|---|
| 16 |
"and ssh and providing syntax coloring and basic line editing " |
|---|
| 17 |
"functionality."), |
|---|
| 18 |
"manhole") |
|---|