
wtogami at redhat
Nov 5, 2009, 7:05 AM
Post #2 of 3
(666 views)
Permalink
|
|
Re: pyzor: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
[In reply to]
|
|
On 11/05/2009 06:00 AM, Mark Martinec wrote: > > #!/usr/local/bin/python -Wignore::DeprecationWarning > > > Mark It appears to be broken here with a different error after applying this patch. --- pyzor-0.5.0.orig/scripts/pyzor 2009-04-29 16:53:50.000000000 -0400 +++ pyzor-0.5.0/scripts/pyzor 2009-11-05 09:28:20.997618751 -0500 @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python -Wignore::DeprecationWarning import os # set umask Working RHEL5 ============= pyzor-0.5.0-1.el5 python-2.4.3-27.el5 [12975] dbg: util: executable for pyzor was found at /usr/bin/pyzor [12975] dbg: pyzor: pyzor is available: /usr/bin/pyzor [12975] dbg: info: entering helper-app run mode [12975] dbg: pyzor: opening pipe: /usr/bin/pyzor check < /tmp/.spamassassin12975PtxGr7tmp [12979] dbg: util: setuid: ruid=501 euid=501 [12975] dbg: pyzor: [12979] finished successfully [12975] dbg: pyzor: got response: public.pyzor.org:24441 (200, 'OK') 43 0 [12975] dbg: info: leaving helper-app run mode [12975] dbg: pyzor: listed: COUNT=43/5 WHITELIST=0 Broken Fedora 12 ================ python-2.6.2-2.fc12.x86_64 pyzor-0.5.0-3.fc12.noarch [3661] dbg: util: current PATH is: /usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/warren/bin [3661] dbg: util: executable for pyzor was found at /usr/bin/pyzor [3661] dbg: pyzor: pyzor is available: /usr/bin/pyzor [3661] dbg: info: entering helper-app run mode [3661] dbg: pyzor: opening pipe: /usr/bin/pyzor check < /tmp/.spamassassin3661XwqUhNtmp [3663] dbg: util: setuid: ruid=500 euid=500 [3661] dbg: pyzor: killed stale helper [3663] [3661] info: pyzor: [3663] error: TERMINATED, signal 15 (000f) [3661] dbg: info: leaving helper-app run mode [3661] dbg: pyzor: check timed out after 3.5 seconds Warren Togami wtogami [at] redhat
|