Project

General

Profile

Evolution #2310

the sha module is deprecated

Added by Joël Cuissinat over 9 years ago. Updated almost 9 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
10/28/2011
Due date:
% Done:

100%

Estimated time:
0.50 h
Spent time:
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

Associated revisions

Revision d0940e2e (diff)
Added by glyph over 13 years ago

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

Revision 5c0307af (diff)
Added by Walid Nouh about 9 years ago

see #2310 Remove option from config form

Revision 0d6df3d2 (diff)
Added by Walid Nouh about 9 years ago

see #2310 remove existing calls to authldaps_id_extra

Revision 65455f41 (diff)
Added by Lionel Morin almost 9 years ago

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

History

#1 Updated by Lionel Morin about 9 years ago

  • Target version changed from Envole 3.2.1 RC to Envole 3.3.0 RC

#2 Updated by Lionel Morin almost 9 years ago

  • Assigned To set to Lionel Morin

#3 Updated by Lionel Morin almost 9 years ago

  • Status changed from Nouveau to Résolu
  • % Done changed from 0 to 100

#4 Updated by Joël Cuissinat almost 9 years ago

  • Status changed from Résolu to 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

Also available in: Atom PDF