Projet

Général

Profil

0001-misc-use-django.utils.six-35368.patch

Frédéric Péters, 12 août 2019 13:59

Télécharger (1,47 ko)

Voir les différences:

Subject: [PATCH] misc: use django.utils.six (#35368)

 debian/control            | 3 +--
 hobo/environment/utils.py | 3 +--
 tox.ini                   | 1 -
 3 files changed, 2 insertions(+), 5 deletions(-)
debian/control
20 20
    python-prometheus-client,
21 21
    python-djangorestframework,
22 22
    python-dnspython,
23
    python-systemd,
24
    python-six
23
    python-systemd
25 24
Recommends:
26 25
    python-gadjo,
27 26
    python-django-mellon (>= 1.2.22.26),
hobo/environment/utils.py
1
from six.moves.urllib.parse import urlparse
2

  
3 1
from django.conf import settings
4 2
from django.core.urlresolvers import reverse
5 3
from django.db import connection
4
from django.utils.six.moves.urllib.parse import urlparse
6 5

  
7 6
from hobo.middleware.utils import StoreRequestMiddleware
8 7

  
tox.ini
52 52
	httmock
53 53
	requests
54 54
	pytest-freezegun
55
	six
56 55
commands =
57 56
	./getlasso.sh
58 57
	hobo: py.test {env:COVERAGE:} {env:NOMIGRATIONS:} {posargs:tests/}
59
-