pep8 compliance

This commit is contained in:
Jimmy Bergman
2011-07-07 08:10:45 +02:00
parent 278c0befa1
commit 3f45e8bdc9
2 changed files with 8 additions and 4 deletions

View File

@@ -114,7 +114,8 @@ class Server(object):
def start_tcp(self, listener, port, host='0.0.0.0', key=None, backlog=128):
"""Run a raw TCP server with the given application."""
arg0 = sys.argv[0]
LOG.info(_('Starting TCP server %(arg0)s on %(host)s:%(port)s') % locals())
LOG.info(_('Starting TCP server %(arg0)s on %(host)s:%(port)s')
% locals())
socket = eventlet.listen((host, port), backlog=backlog)
self._tcp_server = self._pool.spawn_n(self._run_tcp, listener, socket)