1
0
forked from ScoDoc/ScoDoc

removed unnecessary from __future__ import absolute_import

This commit is contained in:
Emmanuel Viennet 2021-07-09 19:07:47 +02:00
parent 67c458f929
commit 9199a01f94
20 changed files with 0 additions and 20 deletions

View File

@ -25,7 +25,6 @@
#
##############################################################################
from __future__ import absolute_import
from operator import mul
import pprint

View File

@ -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

View File

@ -4,7 +4,6 @@
#
# Command: ./csv2rules.py misc/parcoursDUT.csv
#
from __future__ import absolute_import
from app.scodoc.sco_codes_parcours import (
DUTRule,
ADC,

View File

@ -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

View File

@ -28,7 +28,6 @@
"""HTML Header/Footer for ScoDoc pages
"""
from __future__ import absolute_import
import cgi
from flask_login import current_user

View File

@ -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

View File

@ -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

View File

@ -1,6 +1,5 @@
"""Simple image resize using PIL"""
from __future__ import absolute_import
from PIL import Image as PILImage
from cStringIO import StringIO

View File

@ -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

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import math

View File

@ -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

View File

@ -1,7 +1,6 @@
# -*- mode: python -*-
# -*- coding: utf-8 -*-
from __future__ import absolute_import
import os
import re
import inspect

View File

@ -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

View File

@ -46,7 +46,6 @@ L'API de plus bas niveau est en gros:
"""
from __future__ import absolute_import
import string
import re
import time

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -33,7 +33,6 @@ Vues s'appuyant sur auth et sco_users
Emmanuel Viennet, 2021
"""
from __future__ import absolute_import
import re
import jaxml