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/xmlrpc | |
parent | 2d3a301d3ebf901baec1fdbc0fc5c6adf2683eaa (diff) | |
download | ydb-c61b1fabd502ba5dae5085785cb56e4ec724527b.tar.gz |
Split future on py2/py3
Diffstat (limited to 'contrib/python/future/xmlrpc')
-rw-r--r-- | contrib/python/future/xmlrpc/__init__.py | 9 | ||||
-rw-r--r-- | contrib/python/future/xmlrpc/client.py | 5 | ||||
-rw-r--r-- | contrib/python/future/xmlrpc/server.py | 5 |
3 files changed, 0 insertions, 19 deletions
diff --git a/contrib/python/future/xmlrpc/__init__.py b/contrib/python/future/xmlrpc/__init__.py deleted file mode 100644 index e4f853e53ce..00000000000 --- a/contrib/python/future/xmlrpc/__init__.py +++ /dev/null @@ -1,9 +0,0 @@ -from __future__ import absolute_import -import sys - -if sys.version_info[0] < 3: - pass -else: - raise ImportError('This package should not be accessible on Python 3. ' - 'Either you are trying to run from the python-future src folder ' - 'or your installation of python-future is corrupted.') diff --git a/contrib/python/future/xmlrpc/client.py b/contrib/python/future/xmlrpc/client.py deleted file mode 100644 index a8d0827e9b5..00000000000 --- a/contrib/python/future/xmlrpc/client.py +++ /dev/null @@ -1,5 +0,0 @@ -from __future__ import absolute_import -import sys - -assert sys.version_info[0] < 3 -from xmlrpclib import * diff --git a/contrib/python/future/xmlrpc/server.py b/contrib/python/future/xmlrpc/server.py deleted file mode 100644 index a8d0827e9b5..00000000000 --- a/contrib/python/future/xmlrpc/server.py +++ /dev/null @@ -1,5 +0,0 @@ -from __future__ import absolute_import -import sys - -assert sys.version_info[0] < 3 -from xmlrpclib import * |