[MERGE] server protocol registry in bzrlib.transport.
Ian Clatworthy
ian.clatworthy at internode.on.net
Tue May 26 08:21:11 BST 2009
Jelmer Vernooij wrote:
> An updated version of my "bzr serve --protocol=FOO" patch, but moving the
> registry to bzrlib.transport.
Thanks.
bb:tweak
> if port is None:
> - port = medium.BZR_DEFAULT_PORT
> + port = None
> else:
No need to reassign port here. :-) Try ...
if port is not None:
instead.
> """)
>
>
> +
> class SmartTCPServer(object):
> """Listens on a TCP socket and accepts connections from smart clients.
The extra blank line is unnecessary here.
Ian C.
More information about the bazaar
mailing list