From 284257e5e1d5a953bd6b7ba54058d4352c685897 Mon Sep 17 00:00:00 2001 From: IDK Date: Wed, 3 Feb 2021 22:13:03 +0100 Subject: [PATCH] code cleaning --- sco_utils.py | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/sco_utils.py b/sco_utils.py index eb9f86c..7c946d1 100644 --- a/sco_utils.py +++ b/sco_utils.py @@ -32,7 +32,6 @@ import os import sys import copy import re - import bisect import types import numbers @@ -41,6 +40,10 @@ import urllib2 import xml.sax.saxutils import time import datetime +import json + +# XML generation package (apt-get install jaxml) +import jaxml try: import six @@ -52,21 +55,11 @@ except ImportError: from PIL import Image as PILImage -# XML generation package (apt-get install jaxml) -import jaxml - -import json - from VERSION import SCOVERSION import VERSION from SuppressAccents import suppression_diacritics - -# from sco_exceptions import * -# from sco_permissions import * -from TrivialFormulator import TrivialFormulator, TF, tf_error_message -from notes_log import log, logCallStack - +from notes_log import log from sco_codes_parcours import NOTES_TOLERANCE, CODES_EXPL # ----- CALCUL ET PRESENTATION DES NOTES