rename utils module into shell
Since utils is ambiguous, we want to give the module a more clear role.
This commit is contained in:
parent
cb7062e1c1
commit
d774286dc0
8 changed files with 27 additions and 27 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue