lint server

This commit is contained in:
clowwindy 2014-05-02 12:47:56 +08:00
parent 89a7508f26
commit e0a27f1df3
2 changed files with 39 additions and 29 deletions

View file

@ -330,7 +330,7 @@ def main():
addrs = socket.getaddrinfo(config_local_address, config_local_port)
if not addrs:
logging.error('cant resolve local address')
logging.error('cant resolve listen address')
sys.exit(1)
ThreadingTCPServer.address_family = addrs[0][0]
try: