fix test
This commit is contained in:
parent
794ff240a6
commit
edec422aef
2 changed files with 2 additions and 2 deletions
|
@ -159,7 +159,7 @@ def main():
|
||||||
try:
|
try:
|
||||||
import pkg_resources
|
import pkg_resources
|
||||||
version = pkg_resources.get_distribution('shadowsocks').version
|
version = pkg_resources.get_distribution('shadowsocks').version
|
||||||
except ImportError:
|
except:
|
||||||
pass
|
pass
|
||||||
print 'shadowsocks %s' % version
|
print 'shadowsocks %s' % version
|
||||||
|
|
||||||
|
|
|
@ -135,7 +135,7 @@ def main():
|
||||||
try:
|
try:
|
||||||
import pkg_resources
|
import pkg_resources
|
||||||
version = pkg_resources.get_distribution('shadowsocks').version
|
version = pkg_resources.get_distribution('shadowsocks').version
|
||||||
except ImportError:
|
except:
|
||||||
pass
|
pass
|
||||||
print 'shadowsocks %s' % version
|
print 'shadowsocks %s' % version
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue