forked from ScoDoc/DocScoDoc
removed unnecessary from __future__ import absolute_import
This commit is contained in:
parent
67c458f929
commit
9199a01f94
@ -25,7 +25,6 @@
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
from __future__ import absolute_import
|
||||
from operator import mul
|
||||
import pprint
|
||||
|
||||
|
@ -31,7 +31,6 @@ nt = sco_core.get_notes_cache(context).get_NotesTable(context, formsemestre_id)
|
||||
|
||||
|
||||
"""
|
||||
from __future__ import absolute_import
|
||||
from __future__ import print_function
|
||||
import pdb # pylint: disable=unused-import
|
||||
import pprint
|
||||
|
@ -4,7 +4,6 @@
|
||||
#
|
||||
# Command: ./csv2rules.py misc/parcoursDUT.csv
|
||||
#
|
||||
from __future__ import absolute_import
|
||||
from app.scodoc.sco_codes_parcours import (
|
||||
DUTRule,
|
||||
ADC,
|
||||
|
@ -40,7 +40,6 @@ Par exemple, la clé '_css_row_class' spécifie le style CSS de la ligne.
|
||||
|
||||
"""
|
||||
|
||||
from __future__ import absolute_import
|
||||
from __future__ import print_function
|
||||
import random
|
||||
from collections import OrderedDict
|
||||
|
@ -28,7 +28,6 @@
|
||||
"""HTML Header/Footer for ScoDoc pages
|
||||
"""
|
||||
|
||||
from __future__ import absolute_import
|
||||
import cgi
|
||||
|
||||
from flask_login import current_user
|
||||
|
@ -28,7 +28,6 @@
|
||||
"""
|
||||
Génération de la "sidebar" (marge gauche des pages HTML)
|
||||
"""
|
||||
from __future__ import absolute_import
|
||||
from flask import url_for
|
||||
|
||||
import app.scodoc.sco_utils as scu
|
||||
|
@ -27,7 +27,6 @@
|
||||
|
||||
"""Various HTML generation functions
|
||||
"""
|
||||
from __future__ import absolute_import
|
||||
from flask import g, url_for
|
||||
|
||||
import app.scodoc.sco_utils as scu
|
||||
|
@ -1,6 +1,5 @@
|
||||
"""Simple image resize using PIL"""
|
||||
|
||||
from __future__ import absolute_import
|
||||
from PIL import Image as PILImage
|
||||
from cStringIO import StringIO
|
||||
|
||||
|
@ -4,7 +4,6 @@
|
||||
|
||||
# Code from http://code.activestate.com/recipes/457411/
|
||||
|
||||
from __future__ import absolute_import
|
||||
from __future__ import print_function
|
||||
from bisect import bisect_left, bisect_right
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
from __future__ import absolute_import
|
||||
import math
|
||||
|
||||
|
||||
|
@ -31,7 +31,6 @@
|
||||
NOTA: inutilisable dans une instance Zope (can't pickle functions)
|
||||
"""
|
||||
|
||||
from __future__ import absolute_import
|
||||
from app.scodoc.notes_log import log
|
||||
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
# -*- mode: python -*-
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import absolute_import
|
||||
import os
|
||||
import re
|
||||
import inspect
|
||||
|
@ -27,7 +27,6 @@
|
||||
|
||||
"""Calculs sur les notes et cache des resultats
|
||||
"""
|
||||
from __future__ import absolute_import
|
||||
from types import StringType, FloatType
|
||||
import time
|
||||
import pdb
|
||||
|
@ -46,7 +46,6 @@ L'API de plus bas niveau est en gros:
|
||||
|
||||
"""
|
||||
|
||||
from __future__ import absolute_import
|
||||
import string
|
||||
import re
|
||||
import time
|
||||
|
@ -32,7 +32,6 @@ Note: Code très ancien, porté de Zope/DTML, peu utilisable
|
||||
=> Voir si des départements utilisent encore ce module et envisager de le supprimer.
|
||||
|
||||
"""
|
||||
from __future__ import absolute_import
|
||||
import six.moves.urllib.request, six.moves.urllib.parse, six.moves.urllib.error
|
||||
import string
|
||||
import re
|
||||
|
@ -5,7 +5,6 @@ Module Essais: divers essais pour la migration vers Flask
|
||||
Emmanuel Viennet, 2021
|
||||
"""
|
||||
|
||||
from __future__ import absolute_import
|
||||
from flask import g
|
||||
from flask import current_app
|
||||
|
||||
|
@ -30,7 +30,6 @@ Module notes: issu de ScoDoc7 / ZNotes.py
|
||||
|
||||
Emmanuel Viennet, 2021
|
||||
"""
|
||||
from __future__ import absolute_import
|
||||
import sys
|
||||
import time
|
||||
import datetime
|
||||
|
@ -30,7 +30,6 @@ Module main: page d'accueil, avec liste des départements
|
||||
|
||||
Emmanuel Viennet, 2021
|
||||
"""
|
||||
from __future__ import absolute_import
|
||||
import flask
|
||||
from flask import render_template
|
||||
|
||||
|
@ -29,7 +29,6 @@ Module scolar: issu de ScoDoc7 / ZScolar.py
|
||||
Emmanuel Viennet, 2021
|
||||
"""
|
||||
|
||||
from __future__ import absolute_import
|
||||
import sys
|
||||
import traceback
|
||||
import time
|
||||
|
@ -33,7 +33,6 @@ Vues s'appuyant sur auth et sco_users
|
||||
|
||||
Emmanuel Viennet, 2021
|
||||
"""
|
||||
from __future__ import absolute_import
|
||||
import re
|
||||
import jaxml
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user