Package: bittornado Version: 0.3.18-10 Severity: normal -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Here's a patch that fixes this bug: - --- /usr/share/pyshared/BitTornado/__init__.py.orig 2010-11-25 15:05:32.000000000 +0100 +++ /usr/share/pyshared/BitTornado/__init__.py 2010-11-25 15:08:16.000000000 +0100 @@ -5,7 +5,7 @@ report_email = 'http://www.debian.org/Bugs/Reporting' from types import StringType - -from sha import sha +from hashlib import sha1 from time import time, clock try: from os import getpid @@ -51,7 +51,7 @@ + str(getpid()) ) s = '' - - for i in sha(x).digest()[-11:]: + for i in sha1(x).digest()[-11:]: s += mapbase64[ord(i) & 0x3F] _idrandom[0] = s Regards, Beat Bolli - -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkzucF8ACgkQMEuTz1BqkDrw6gCgzNlqis3dLVHZqsWCbH3jzL2M 7EEAn3PYlpuCi8VMdPoED74mXVutHqU4 =kXRP -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org