Something in 02_fix_python_warnings.dpatch broke torrent-checking.
With the patch I get this:
$ cfv -f XYZ.torrent
/usr/lib/pymodules/python2.6/BitTornado/__init__.py:8: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
from sha import sha
Traceback (most recent call last):
File "/usr/bin/cfv", line 3, in <module>
cfv.main()
File "/usr/lib/pymodules/python2.6/cfv.py", line 2465, in main
test(a, typename)
File "/usr/lib/pymodules/python2.6/cfv.py", line 2125, in test
cf.test_chksumfile(file, filename)
File "/usr/lib/pymodules/python2.6/cfv.py", line 862, in test_chksumfile
self.do_test_chksumfile(file)
File "/usr/lib/pymodules/python2.6/cfv.py", line 1533, in do_test_chksumfile
sh = sha.sha()
AttributeError: 'builtin_function_or_method' object has no attribute 'sha'
Something in 02_fix_ python_ warnings. dpatch broke torrent-checking.
With the patch I get this:
$ cfv -f XYZ.torrent pymodules/ python2. 6/BitTornado/ __init_ _.py:8: DeprecationWarning: the sha module is deprecated; use the hashlib module instead pymodules/ python2. 6/cfv.py" , line 2465, in main pymodules/ python2. 6/cfv.py" , line 2125, in test test_chksumfile (file, filename) pymodules/ python2. 6/cfv.py" , line 862, in test_chksumfile do_test_ chksumfile( file) pymodules/ python2. 6/cfv.py" , line 1533, in do_test_chksumfile function_ or_method' object has no attribute 'sha'
/usr/lib/
from sha import sha
Traceback (most recent call last):
File "/usr/bin/cfv", line 3, in <module>
cfv.main()
File "/usr/lib/
test(a, typename)
File "/usr/lib/
cf.
File "/usr/lib/
self.
File "/usr/lib/
sh = sha.sha()
AttributeError: 'builtin_
Without it, it works.