diff options
author | shadchin <shadchin@yandex-team.com> | 2023-10-10 17:45:43 +0300 |
---|---|---|
committer | shadchin <shadchin@yandex-team.com> | 2023-10-10 18:17:04 +0300 |
commit | c61b1fabd502ba5dae5085785cb56e4ec724527b (patch) | |
tree | 5c988002f744a6897d2bd2be8daac8661bcea22c /contrib/python/future/http/server.py | |
parent | 2d3a301d3ebf901baec1fdbc0fc5c6adf2683eaa (diff) | |
download | ydb-c61b1fabd502ba5dae5085785cb56e4ec724527b.tar.gz |
Split future on py2/py3
Diffstat (limited to 'contrib/python/future/http/server.py')
-rw-r--r-- | contrib/python/future/http/server.py | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/contrib/python/future/http/server.py b/contrib/python/future/http/server.py deleted file mode 100644 index 29710557820..00000000000 --- a/contrib/python/future/http/server.py +++ /dev/null @@ -1,18 +0,0 @@ -from __future__ import absolute_import -import sys - -assert sys.version_info[0] < 3 - -from BaseHTTPServer import * -from CGIHTTPServer import * -from SimpleHTTPServer import * -try: - from CGIHTTPServer import _url_collapse_path # needed for a test -except ImportError: - try: - # Python 2.7.0 to 2.7.3 - from CGIHTTPServer import ( - _url_collapse_path_split as _url_collapse_path) - except ImportError: - # Doesn't exist on Python 2.6.x. Ignore it. - pass |