root/trunk/twisted/plugins/twisted_names.py

Revision 23252, 257 bytes (checked in by exarkun, 2 years 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# Copyright (c) 2001-2008 Twisted Matrix Laboratories.
2# See LICENSE for details.
3
4from twisted.application.service import ServiceMaker
5
6TwistedNames = ServiceMaker(
7    "Twisted DNS Server",
8    "twisted.names.tap",
9    "A domain name server.",
10    "dns")
Note: See TracBrowser for help on using the browser.