Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#17 DeprecationWarning: the md5 module is deprecated; use hashli

closed-accepted
nobody
None
5
2008-11-23
2008-11-21
Igor Galić
No

This is a straight forward patch to get rid of the "DeprecationWarning: the md5 module is deprecated; use hashlib instead"
This patch was written for 3.6.5.
trunk seems to look... different, to say at least.

Discussion

  • Igor Galić
    Igor Galić
    2008-11-21

    md5 patch for comix 3.6.5

     
    Attachments
  • Pontus Ekberg
    Pontus Ekberg
    2008-11-23

    • status: open --> closed-accepted
     
  • Pontus Ekberg
    Pontus Ekberg
    2008-11-23

    Hi,

    thanks for pointing out that the md5 module is deprecated. Using hashlib requires Python 2.5 or newer though, which isn't a requirement for Comix, so I added a quick check to see if hashlib is available and otherwise falling back to md5.

    The changes are commited to the SVN repository (for version 4, the old 3.X version is no longer maintained).