[Bug 567384] New: supybot-botchk uses popen2 python module which is deprecated in python2.6
http://bugzilla.novell.com/show_bug.cgi?id=567384 http://bugzilla.novell.com/show_bug.cgi?id=567384#c0 Summary: supybot-botchk uses popen2 python module which is deprecated in python2.6 Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: x86 OS/Version: openSUSE 11.2 Status: NEW Severity: Minor Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: martin.lillepuu@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_2; en-us) AppleWebKit/531.21.8 (KHTML, like Gecko) Version/4.0.4 Safari/531.21.10 /usr/bin/supybot-botchk:62: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module. import popen2 Reproducible: Always Steps to Reproduce: run /usr/bin/supybot-botchk --botdir=/home/bot/supybot --pidfile=/home/bot/supybot/supybot.pid --conffile=/home/bot/supybot/supybot.conf Actual Results: deprecation warning is displayed when run from shell and warning mail is sent with each check from cron script Expected Results: no deprecation warning -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=567384 http://bugzilla.novell.com/show_bug.cgi?id=567384#c1 --- Comment #1 from Martin Lillepuu <martin.lillepuu@gmail.com> 2009-12-28 09:59:39 UTC --- I changed supybot-botchk to use subprocess module and it seems to work now without a deprecation warning. Here's my version: http://www.lillepuu.com/public/supybot-botchk -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=567384 http://bugzilla.novell.com/show_bug.cgi?id=567384#c yang xiaoyu <xyyang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xyyang@novell.com AssignedTo|bnc-team-screening@forge.pr |lrupp@novell.com |ovo.novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=567384 http://bugzilla.novell.com/show_bug.cgi?id=567384#c2 Lars Vogdt <lrupp@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low Status|NEW |CLOSED CC| |lrupp@novell.com Found By|--- |Customer Resolution| |FIXED Target Milestone|--- |Future 11.3 --- Comment #2 from Lars Vogdt <lrupp@novell.com> 2010-01-20 10:41:59 UTC --- Thanks for your patched version. I took this one for the new submission to Factory, so 11.3 benefits from your patch. But as this is just a Warning, I don't expect the fix to be backported for 11.2 and so closing here as fixed for 11.3 - but if you like, Reopen this bug, set NEEDINFO maintenance@opensuse.org and ask for an update (see http://en.opensuse.org/Maintenance for details). -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com