Ticket #419 (closed task: fixed)
[PATCH] Fix Python 2.6 deprecation warnings
| Reported by: | guest | Owned by: | pjenvey |
|---|---|---|---|
| Priority: | highest | Milestone: | |
| Component: | Daemon | Version: | trunk |
| Severity: | normal | Keywords: | python26 |
| Cc: |
Description
Python 2.6 has been released a while ago and running HellaNZB using this Python version causes a couple of deprecation warnings to appear, which of course doesn't really affect the execution of HellaNZB. The usage of the md5 module and the BaseException?.message property have been deprecated.
A simple patch is attached. It ensures that the deprecation warnings don't show up anymore using Python 2.6 while preserving Python >=2.3 compatibility.
The reason why I decided to create this patch and this ticket is because two ArchLinux? users have experienced problems [1] with HellaNZB in conjunction with LottaNZB and Python 2.6 because of these deprecation warnings. We're still investigating the issue.
[1] http://bbs.archlinux.org/viewtopic.php?pid=508538#p508538

