From 4699de1dd9ebc06adb16fb077e143d0571ad7ad6 Mon Sep 17 00:00:00 2001 From: clowwindy Date: Fri, 31 Oct 2014 21:53:53 +0800 Subject: [PATCH] fix python 3.2 --- .travis.yml | 1 - shadowsocks/utils.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 517d9ad..37079f8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,5 +26,4 @@ script: - 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-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 diff --git a/shadowsocks/utils.py b/shadowsocks/utils.py index b54a21b..87b2c92 100644 --- a/shadowsocks/utils.py +++ b/shadowsocks/utils.py @@ -207,7 +207,7 @@ def get_config(is_local): level = logging.INFO logging.basicConfig(level=level, 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)