Révision 83c9a56a
Ajouté par Frédéric Péters il y a presque 4 ans
mandayejs/mandaye/utils.py | ||
---|---|---|
13 | 13 |
# |
14 | 14 |
# You should have received a copy of the GNU Affero General Public License |
15 | 15 |
# along with this program. If not, see <http://www.gnu.org/licenses/>. |
16 |
|
|
16 | 17 |
import os |
17 | 18 |
import re |
18 | 19 |
import json |
19 | 20 |
import subprocess |
20 | 21 |
import logging |
21 | 22 |
import multiprocessing |
22 |
import urlparse |
|
23 | 23 |
|
24 | 24 |
from django.conf import settings |
25 |
from django.http import SimpleCookie |
|
25 | 26 |
from django.shortcuts import resolve_url |
27 |
from django.utils.six.moves.urllib import parse as urlparse |
|
26 | 28 |
|
27 |
from Cookie import SimpleCookie |
|
28 | 29 |
|
29 | 30 |
|
30 | 31 |
logger = logging.getLogger(__name__) |
Formats disponibles : Unified diff
adapt bits for py3 (#19613)