Projet

Général

Profil

Evolution #2310

the sha module is deprecated

Ajouté par Joël Cuissinat il y a plus de 12 ans. Mis à jour il y a presque 12 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Début:
28/10/2011
Echéance:
% réalisé:

100%

Temps estimé:
0.50 h
Temps passé:
Distribution:
EOLE 2.3

Description

Chercher et corriger les DeprecationWarning :

/usr/lib/pymodules/python2.6/posh/api/user_api.py:40: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  from sha import sha

Révisions associées

Révision d0940e2e (diff)
Ajouté par glyph il y a plus de 16 ans

Allow customization of global client-side behavior via a client page class.

This change refactors most Athena global JavaScript state into a client-side PageWidget class, and allows that class to be specified by application code. The page widget javascript class is responsible for, among other things, handling the "connection lost" notification, which allows for pages which intelligently reconnect or otherwise provide customized behavior in response to a connection-lost notification. A brief interactive example of a page which can reconnect without alerting the user is included.

In addition to the refactorings, this change touches a lot of old code, and thereby adds a lot of unit test coverage to code which was either completely uncovered or covered only by nits.

Fixes #2310

Fixes #2334

Author: glyph, moe

Reviewer: exarkun

Révision 5c0307af (diff)
Ajouté par Walid Nouh il y a environ 12 ans

see #2310 Remove option from config form

Révision 0d6df3d2 (diff)
Ajouté par Walid Nouh il y a presque 12 ans

see #2310 remove existing calls to authldaps_id_extra

Révision 65455f41 (diff)
Ajouté par Lionel Morin il y a presque 12 ans

Correction du DeprecationWarning, utilisation du module hashlib plutot que sha (fixes #2310)

Historique

#1 Mis à jour par Lionel Morin il y a environ 12 ans

  • Version cible changé de Envole 3.2.1 RC à Envole 3.3.0 RC

#2 Mis à jour par Lionel Morin il y a presque 12 ans

  • Assigné à mis à Lionel Morin

#3 Mis à jour par Lionel Morin il y a presque 12 ans

  • Statut changé de Nouveau à Résolu
  • % réalisé changé de 0 à 100

#4 Mis à jour par Joël Cuissinat il y a presque 12 ans

  • Statut changé de Résolu à Fermé

OK dans paquet candidat : eole-python-posh 2.3-eole8~2.gbpe12194

root@reseau:/usr/share/pyshared/posh# grep "import sha" * -r
api/user_api.py:    from hashlib import sha1

Formats disponibles : Atom PDF