correct imports

Signed-off-by: Ludovic Stephan <lstephan@clipper.ens.fr>
This commit is contained in:
Ludovic Stephan 2017-01-10 15:15:53 -02:00
parent 6315ddf6b8
commit fabd0949e2
2 changed files with 1 additions and 1 deletions

View file

@ -18,6 +18,7 @@ from django.db.models import F
from django.core.cache import cache from django.core.cache import cache
from datetime import date, timedelta from datetime import date, timedelta
import re import re
import hashlib
def choices_length(choices): def choices_length(choices):
return reduce(lambda m, choice: max(m, len(choice[0])), choices, 0) return reduce(lambda m, choice: max(m, len(choice[0])), choices, 0)

View file

@ -41,7 +41,6 @@ from kfet import consumers
from datetime import timedelta from datetime import timedelta
from decimal import Decimal from decimal import Decimal
import django_cas_ng import django_cas_ng
import hashlib
import heapq import heapq
import statistics import statistics