forked from ScoDoc/ScoDoc
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
|
from operator import mul
|
||||||
import pprint
|
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
|
from __future__ import print_function
|
||||||
import pdb # pylint: disable=unused-import
|
import pdb # pylint: disable=unused-import
|
||||||
import pprint
|
import pprint
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
#
|
#
|
||||||
# Command: ./csv2rules.py misc/parcoursDUT.csv
|
# Command: ./csv2rules.py misc/parcoursDUT.csv
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
from app.scodoc.sco_codes_parcours import (
|
from app.scodoc.sco_codes_parcours import (
|
||||||
DUTRule,
|
DUTRule,
|
||||||
ADC,
|
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
|
from __future__ import print_function
|
||||||
import random
|
import random
|
||||||
from collections import OrderedDict
|
from collections import OrderedDict
|
||||||
|
@ -28,7 +28,6 @@
|
|||||||
"""HTML Header/Footer for ScoDoc pages
|
"""HTML Header/Footer for ScoDoc pages
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import absolute_import
|
|
||||||
import cgi
|
import cgi
|
||||||
|
|
||||||
from flask_login import current_user
|
from flask_login import current_user
|
||||||
|
@ -28,7 +28,6 @@
|
|||||||
"""
|
"""
|
||||||
Génération de la "sidebar" (marge gauche des pages HTML)
|
Génération de la "sidebar" (marge gauche des pages HTML)
|
||||||
"""
|
"""
|
||||||
from __future__ import absolute_import
|
|
||||||
from flask import url_for
|
from flask import url_for
|
||||||
|
|
||||||
import app.scodoc.sco_utils as scu
|
import app.scodoc.sco_utils as scu
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
|
|
||||||
"""Various HTML generation functions
|
"""Various HTML generation functions
|
||||||
"""
|
"""
|
||||||
from __future__ import absolute_import
|
|
||||||
from flask import g, url_for
|
from flask import g, url_for
|
||||||
|
|
||||||
import app.scodoc.sco_utils as scu
|
import app.scodoc.sco_utils as scu
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
"""Simple image resize using PIL"""
|
"""Simple image resize using PIL"""
|
||||||
|
|
||||||
from __future__ import absolute_import
|
|
||||||
from PIL import Image as PILImage
|
from PIL import Image as PILImage
|
||||||
from cStringIO import StringIO
|
from cStringIO import StringIO
|
||||||
|
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
|
|
||||||
# Code from http://code.activestate.com/recipes/457411/
|
# Code from http://code.activestate.com/recipes/457411/
|
||||||
|
|
||||||
from __future__ import absolute_import
|
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
from bisect import bisect_left, bisect_right
|
from bisect import bisect_left, bisect_right
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
import math
|
import math
|
||||||
|
|
||||||
|
|
||||||
|
@ -31,7 +31,6 @@
|
|||||||
NOTA: inutilisable dans une instance Zope (can't pickle functions)
|
NOTA: inutilisable dans une instance Zope (can't pickle functions)
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import absolute_import
|
|
||||||
from app.scodoc.notes_log import log
|
from app.scodoc.notes_log import log
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
# -*- mode: python -*-
|
# -*- mode: python -*-
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
from __future__ import absolute_import
|
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
import inspect
|
import inspect
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
|
|
||||||
"""Calculs sur les notes et cache des resultats
|
"""Calculs sur les notes et cache des resultats
|
||||||
"""
|
"""
|
||||||
from __future__ import absolute_import
|
|
||||||
from types import StringType, FloatType
|
from types import StringType, FloatType
|
||||||
import time
|
import time
|
||||||
import pdb
|
import pdb
|
||||||
|
@ -46,7 +46,6 @@ L'API de plus bas niveau est en gros:
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import absolute_import
|
|
||||||
import string
|
import string
|
||||||
import re
|
import re
|
||||||
import time
|
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.
|
=> 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 six.moves.urllib.request, six.moves.urllib.parse, six.moves.urllib.error
|
||||||
import string
|
import string
|
||||||
import re
|
import re
|
||||||
|
@ -5,7 +5,6 @@ Module Essais: divers essais pour la migration vers Flask
|
|||||||
Emmanuel Viennet, 2021
|
Emmanuel Viennet, 2021
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import absolute_import
|
|
||||||
from flask import g
|
from flask import g
|
||||||
from flask import current_app
|
from flask import current_app
|
||||||
|
|
||||||
|
@ -30,7 +30,6 @@ Module notes: issu de ScoDoc7 / ZNotes.py
|
|||||||
|
|
||||||
Emmanuel Viennet, 2021
|
Emmanuel Viennet, 2021
|
||||||
"""
|
"""
|
||||||
from __future__ import absolute_import
|
|
||||||
import sys
|
import sys
|
||||||
import time
|
import time
|
||||||
import datetime
|
import datetime
|
||||||
|
@ -30,7 +30,6 @@ Module main: page d'accueil, avec liste des départements
|
|||||||
|
|
||||||
Emmanuel Viennet, 2021
|
Emmanuel Viennet, 2021
|
||||||
"""
|
"""
|
||||||
from __future__ import absolute_import
|
|
||||||
import flask
|
import flask
|
||||||
from flask import render_template
|
from flask import render_template
|
||||||
|
|
||||||
|
@ -29,7 +29,6 @@ Module scolar: issu de ScoDoc7 / ZScolar.py
|
|||||||
Emmanuel Viennet, 2021
|
Emmanuel Viennet, 2021
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import absolute_import
|
|
||||||
import sys
|
import sys
|
||||||
import traceback
|
import traceback
|
||||||
import time
|
import time
|
||||||
|
@ -33,7 +33,6 @@ Vues s'appuyant sur auth et sco_users
|
|||||||
|
|
||||||
Emmanuel Viennet, 2021
|
Emmanuel Viennet, 2021
|
||||||
"""
|
"""
|
||||||
from __future__ import absolute_import
|
|
||||||
import re
|
import re
|
||||||
import jaxml
|
import jaxml
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user