l.c.b.DenyingServer : class documentation

Part of lp.codehosting.bzrutils View In Hierarchy

Temporarily prevent creation of transports for certain URL schemes.
Method __init__ Set up the instance.
Method start_server Prevent transports being created for specified schemes.
Method stop_server Re-enable creation of transports for specified schemes.
Method _deny Prevent creation of transport for 'url'.
def __init__(self, schemes):
Set up the instance.
ParametersschemesThe schemes to disallow creation of transports for.
def start_server(self):
Prevent transports being created for specified schemes.
def stop_server(self):
Re-enable creation of transports for specified schemes.
def _deny(self, url):
Prevent creation of transport for 'url'.
API Documentation for Launchpad, generated by pydoctor at 2018-05-27 00:00:04.