Deprecated warnings around "import md5" when importing pyro or starting the pyro-nsd daemon

Bug #399259 reported by Jonathan Harker
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyro (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: pyro

Deprecated md5 module importing pyro:

>>> import Pyro.core
/usr/lib/python2.6/dist-packages/Pyro/protocol.py:11: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import socket, struct, os, time, sys, md5, hmac, types, random
>>>

Patch to fix attached.

Revision history for this message
Jonathan Harker (jonathanharker) wrote :
Revision history for this message
Jonathan Harker (jonathanharker) wrote :

No sir, I don't like it. How about this one...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.