rename utils module into shell

Since utils is ambiguous, we want to give the module a more
clear role.
This commit is contained in:
clowwindy 2015-02-10 17:26:10 +08:00
parent cb7062e1c1
commit d774286dc0
8 changed files with 27 additions and 27 deletions

View file

@ -69,7 +69,7 @@ import struct
import errno
import random
from shadowsocks import encrypt, eventloop, lru_cache, common, utils
from shadowsocks import encrypt, eventloop, lru_cache, common, shell
from shadowsocks.common import parse_header, pack_addr
@ -208,7 +208,7 @@ class UDPRelay(object):
if err in (errno.EINPROGRESS, errno.EAGAIN):
pass
else:
utils.print_exception(e)
shell.print_exception(e)
def _handle_client(self, sock):
data, r_addr = sock.recvfrom(BUF_SIZE)