From 13c6c393db06eb8219c8b1ede2b707beefaf124f Mon Sep 17 00:00:00 2001 From: clowwindy Date: Sat, 1 Nov 2014 13:10:19 +0800 Subject: [PATCH] fix pyflakes --- shadowsocks/crypto/m2.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shadowsocks/crypto/m2.py b/shadowsocks/crypto/m2.py index 8022f81..4c7e148 100644 --- a/shadowsocks/crypto/m2.py +++ b/shadowsocks/crypto/m2.py @@ -83,10 +83,11 @@ def check_env(): # skip this test on pypy and Python 3 try: import __pypy__ + del __pypy__ from nose.plugins.skip import SkipTest raise SkipTest except ImportError: - __pypy__ = None + pass if bytes != str: from nose.plugins.skip import SkipTest raise SkipTest