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'
Without it, it works.
--
cfv returns Deprecation Warning
https://bugs.launchpad.net/bugs/158747
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs