Mercurial > repos > guerler > springsuite
comparison planemo/lib/python3.7/site-packages/future/moves/http/server.py @ 0:d30785e31577 draft
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
author | guerler |
---|---|
date | Fri, 31 Jul 2020 00:18:57 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:d30785e31577 |
---|---|
1 from __future__ import absolute_import | |
2 from future.utils import PY3 | |
3 | |
4 if PY3: | |
5 from http.server import * | |
6 else: | |
7 __future_module__ = True | |
8 from BaseHTTPServer import * | |
9 from CGIHTTPServer import * | |
10 from SimpleHTTPServer import * | |
11 try: | |
12 from CGIHTTPServer import _url_collapse_path # needed for a test | |
13 except ImportError: | |
14 try: | |
15 # Python 2.7.0 to 2.7.3 | |
16 from CGIHTTPServer import ( | |
17 _url_collapse_path_split as _url_collapse_path) | |
18 except ImportError: | |
19 # Doesn't exist on Python 2.6.x. Ignore it. | |
20 pass |