code cleaning
This commit is contained in:
parent
aefd14b420
commit
284257e5e1
17
sco_utils.py
17
sco_utils.py
@ -32,7 +32,6 @@ import os
|
|||||||
import sys
|
import sys
|
||||||
import copy
|
import copy
|
||||||
import re
|
import re
|
||||||
|
|
||||||
import bisect
|
import bisect
|
||||||
import types
|
import types
|
||||||
import numbers
|
import numbers
|
||||||
@ -41,6 +40,10 @@ import urllib2
|
|||||||
import xml.sax.saxutils
|
import xml.sax.saxutils
|
||||||
import time
|
import time
|
||||||
import datetime
|
import datetime
|
||||||
|
import json
|
||||||
|
|
||||||
|
# XML generation package (apt-get install jaxml)
|
||||||
|
import jaxml
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import six
|
import six
|
||||||
@ -52,21 +55,11 @@ except ImportError:
|
|||||||
|
|
||||||
from PIL import Image as PILImage
|
from PIL import Image as PILImage
|
||||||
|
|
||||||
# XML generation package (apt-get install jaxml)
|
|
||||||
import jaxml
|
|
||||||
|
|
||||||
import json
|
|
||||||
|
|
||||||
from VERSION import SCOVERSION
|
from VERSION import SCOVERSION
|
||||||
import VERSION
|
import VERSION
|
||||||
|
|
||||||
from SuppressAccents import suppression_diacritics
|
from SuppressAccents import suppression_diacritics
|
||||||
|
from notes_log import log
|
||||||
# from sco_exceptions import *
|
|
||||||
# from sco_permissions import *
|
|
||||||
from TrivialFormulator import TrivialFormulator, TF, tf_error_message
|
|
||||||
from notes_log import log, logCallStack
|
|
||||||
|
|
||||||
from sco_codes_parcours import NOTES_TOLERANCE, CODES_EXPL
|
from sco_codes_parcours import NOTES_TOLERANCE, CODES_EXPL
|
||||||
|
|
||||||
# ----- CALCUL ET PRESENTATION DES NOTES
|
# ----- CALCUL ET PRESENTATION DES NOTES
|
||||||
|
Loading…
Reference in New Issue
Block a user