Browse Source

add License

dev
破娃酱 8 years ago
parent
commit
5345c66abe
  1. 1
      server_pool.py
  2. 19
      shadowsocks/version.py

1
server_pool.py

@ -45,7 +45,6 @@ class ServerPool(object):
def __init__(self):
shell.check_python()
self.config = shell.get_config(False)
shell.print_shadowsocks()
self.dns_resolver = asyncdns.DNSResolver()
if not self.config.get('dns_ipv6', False):
asyncdns.IPV6_CONNECTION_SUPPORT = False

19
shadowsocks/version.py

@ -1,3 +1,20 @@
def version()
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright 2016 breakwa11
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
def version():
return '2.9.4 update 2016-10-11'

Loading…
Cancel
Save