Browse Source

fix python 3.2

auth
clowwindy 10 years ago
parent
commit
4699de1dd9
  1. 1
      .travis.yml
  2. 2
      shadowsocks/utils.py

1
.travis.yml

@ -26,5 +26,4 @@ script:
- python tests/test.py -c tests/salsa20.json - python tests/test.py -c tests/salsa20.json
- python tests/test.py -c tests/server-multi-ports.json - python tests/test.py -c tests/server-multi-ports.json
- python tests/test.py -c tests/server-multi-passwd.json tests/server-multi-passwd-client-side.json - python tests/test.py -c tests/server-multi-passwd.json tests/server-multi-passwd-client-side.json
- python tests/test.py -c tests/server-multi-passwd-table.json
- python tests/test.py -c tests/workers.json - python tests/test.py -c tests/workers.json

2
shadowsocks/utils.py

@ -207,7 +207,7 @@ def get_config(is_local):
level = logging.INFO level = logging.INFO
logging.basicConfig(level=level, logging.basicConfig(level=level,
format='%(asctime)s %(levelname)-8s %(message)s', format='%(asctime)s %(levelname)-8s %(message)s',
datefmt='%Y-%m-%d %H:%M:%S', filemode='a+') datefmt='%Y-%m-%d %H:%M:%S')
check_config(config) check_config(config)

Loading…
Cancel
Save