[Bug 338285] Re: rubber uses deprecated md5 module

ceripald metriccq at gmail.com
Thu May 21 09:11:40 UTC 2009


This warning was annoying me when compiling my LaTeX document in Gedit.
I assume that there is some method of running the above patch so that it
updates your util.py file, but I couldn't figure it out. In the end, I
just opened up the util.py file and changed the appropriate lines, which
succeeded in getting rid of the Gedit warning. So thanks to the person
who wrote the patch, and here are the lines to change if anyone else is
as python baffled as I am:

first run 'sudo gedit /usr/share/rubber/rubber/util.py'
then change 'import md5' to 'import hashlib' (which was line 8 in my util.py file)
and 'm = md5.new()' to 'm = hashlib.md5()' (which was line 22 in my util.py file)

Apologies if this is not the correct place to post this info.

-- 
rubber uses deprecated md5 module
https://bugs.launchpad.net/bugs/338285
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list