Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 215541 Details for
Bug 300041
[patch] app-misc/klive uses deprecated md5 module
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Remove the deprecated code
klive-python2.6.patch (text/plain), 653 bytes, created by
Marco Leogrande
on 2010-01-07 13:54:02 UTC
(
hide
)
Description:
Remove the deprecated code
Filename:
MIME Type:
Creator:
Marco Leogrande
Created:
2010-01-07 13:54:02 UTC
Size:
653 bytes
patch
obsolete
>--- client/klive.tac.orig 2010-01-07 13:50:59.000000000 +0100 >+++ client/klive.tac 2010-01-07 14:29:29.000000000 +0100 >@@ -77,7 +77,7 @@ > > PORT = 4921 > >-import sys, os, struct, md5, re, glob, stat, zlib, socket >+import sys, os, struct, hashlib, re, glob, stat, zlib, socket > > from twisted.internet.protocol import DatagramProtocol > from twisted.internet import reactor >@@ -122,7 +122,7 @@ > return struct.pack('!H', len(s)) + s > > def gen_random_hash(): >- return md5.new(file('/dev/urandom').read(100) + os.uname()[1]).digest() >+ return hashlib.md5(file('/dev/urandom').read(100) + os.uname()[1]).digest() > > def hexdigest(digest): > import string
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 300041
: 215541 |
215543