0001-misc-remove-usage-of-django.utils.six-63685.patch
chrono/manager/forms.py | ||
---|---|---|
19 | 19 |
import csv |
20 | 20 |
import datetime |
21 | 21 |
from collections import defaultdict |
22 |
from io import StringIO |
|
22 | 23 |
from operator import itemgetter |
23 | 24 | |
24 | 25 |
import django_filters |
... | ... | |
32 | 33 |
from django.forms import ValidationError, formset_factory |
33 | 34 |
from django.utils.encoding import force_text |
34 | 35 |
from django.utils.formats import date_format |
35 |
from django.utils.six import StringIO |
|
36 | 36 |
from django.utils.timezone import localtime, make_aware, now |
37 | 37 |
from django.utils.translation import ugettext_lazy as _ |
38 | 38 |
chrono/utils/requests_wrapper.py | ||
---|---|---|
16 | 16 | |
17 | 17 |
import hashlib |
18 | 18 |
import logging |
19 |
from io import BytesIO |
|
19 | 20 |
from urllib import parse |
20 | 21 | |
21 | 22 |
from django.conf import settings |
22 | 23 |
from django.core.cache import cache |
23 | 24 |
from django.utils.encoding import smart_bytes |
24 | 25 |
from django.utils.http import urlencode |
25 |
from django.utils.six import BytesIO |
|
26 | 26 |
from requests import Response |
27 | 27 |
from requests import Session as RequestsSession |
28 | 28 |
from requests.auth import AuthBase |
29 |
- |