[#1610] The sha module is deprecated; use the hashlib module instead (OpenSUSE 11.3 / Python 2.6.5)

Date:
2010-10-07 16:17
Priority:
3
State:
Open
Submitted by:
Bjoern Schilberg (bjoern)
Assigned to:
Nobody (None)
Product:
none
Operating System:
Linux
Component:
OSAAS-Server
Summary:
The sha module is deprecated; use the hashlib module instead (OpenSUSE 11.3 / Python 2.6.5)

Detailed description
If a try to set up the osaas database under OpenSUSE 11.3 with the following statement:

/opt/gispatcher/osaas-server/server/initosaasdb.py --config-file=/etc/osaas/osaas-config.xml

I get the following warning:

/opt/gispatcher/osaas-server/server/osaas/userdb.py:10: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
import sha


OpenSUSE 11.3
Python 2.6.5
python-psycopg2 2.0.12 [1]

[1] Note: Not included in OpenSUSE 11.3 anymore! Get it from here: [2]
[2] http://download.opensuse.org/repositories/devel:/languages:/python/openSUSE_11.3/

No comments have been posted

No attached documents

No changes have been made to this item