wuzhipeng2014 / freenos

Automatically exported from code.google.com/p/freenos
GNU General Public License v3.0
0 stars 0 forks source link

DeprecationWarning in Checksum Builder: replace md5/sha modules with hashlib #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently the Checksum builder uses the md5 and sha python modules. In
newer Python versions (>= 2.5), these modules are marked deprecated,
triggering the following warning:

site_scons/checksum.py:18: DeprecationWarning: the md5 module is
deprecated; use hashlib instead
site_scons/checksum.py:19: DeprecationWarning: the sha module is
deprecated; use the hashlib module instead

We should update the Checksum builder to use hashlib instead of the md5 and
sha modules.

Original issue reported on code.google.com by coenbijlsma on 7 Aug 2009 at 10:22

GoogleCodeExporter commented 9 years ago

Original comment by coenbijlsma on 7 Aug 2009 at 11:05