Showing
2 changed files
with
18 additions
and
4 deletions
... | @@ -25,7 +25,7 @@ Useful links | ... | @@ -25,7 +25,7 @@ Useful links |
25 | ------------ | 25 | ------------ |
26 | 26 | ||
27 | * SNAKES homepage (documentation, tutorial, API reference, ...) | 27 | * SNAKES homepage (documentation, tutorial, API reference, ...) |
28 | - http://www.ibisc.univ-evry.fr/~fpommereau/SNAKES/ | 28 | + https://snakes.ibisc.univ-evry.fr/ |
29 | * SNAKES development page (source repository, history, bug reports, | 29 | * SNAKES development page (source repository, history, bug reports, |
30 | feature requests, ...) | 30 | feature requests, ...) |
31 | https://github.com/fpom/snakes | 31 | https://github.com/fpom/snakes |
... | @@ -36,7 +36,7 @@ Useful links | ... | @@ -36,7 +36,7 @@ Useful links |
36 | Copyright / Licence | 36 | Copyright / Licence |
37 | ------------------- | 37 | ------------------- |
38 | 38 | ||
39 | -(C) 2007-2014 [Franck Pommereau](mailto:franck.pommereau@ibisc.univ-evry.fr) | 39 | +(C) 2007-2021 [Franck Pommereau](mailto:franck.pommereau@ibisc.univ-evry.fr) |
40 | 40 | ||
41 | This library is free software; you can redistribute it and/or modify | 41 | This library is free software; you can redistribute it and/or modify |
42 | it under the terms of the GNU Lesser General Public License as | 42 | it under the terms of the GNU Lesser General Public License as | ... | ... |
1 | -import sys, os.path, httplib, cgi, urlparse, functools, mimetypes | 1 | +import sys, os.path, cgi, functools, mimetypes |
2 | import os, traceback, random, base64, inspect | 2 | import os, traceback, random, base64, inspect |
3 | -import BaseHTTPServer | ||
4 | from snakes.utils.simul import logger as log | 3 | from snakes.utils.simul import logger as log |
5 | from snakes.utils.simul.html import json, utf8 | 4 | from snakes.utils.simul.html import json, utf8 |
6 | 5 | ||
6 | +try : | ||
7 | + import httplib | ||
8 | +except : | ||
9 | + import http as httplib | ||
10 | + | ||
11 | +try : | ||
12 | + import urlparse | ||
13 | +except : | ||
14 | + import urllib as urlparse | ||
15 | + | ||
16 | +try : | ||
17 | + import BaseHTTPServer | ||
18 | +except : | ||
19 | + import http as BaseHTTPServer | ||
20 | + | ||
7 | ## | 21 | ## |
8 | ## | 22 | ## |
9 | ## | 23 | ## | ... | ... |
-
Please register or login to post a comment