deprecated os.popen3 warning in bughelper

Bug #364896 reported by Paul Larson
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
bughelper (Ubuntu)
Fix Released
Undecided
Brian Murray

Bug Description

Binary package hint: bughelper

Bughelper gives a warning, even when running with no options:
/usr/lib/python2.6/dist-packages/bugHelper/bzrutils.py:35: DeprecationWarning: os.popen3 is deprecated. Use the subprocess module.
  f = os.popen3("bzr pull %s" % DEFAULT_BRANCH)

Revision history for this message
Paul Larson (pwlars) wrote :

rev 229 of attached branch has proposed fix for this, rev 230 has some minor cleanup stuff

Changed in bughelper (Ubuntu):
status: New → In Progress
Revision history for this message
Krzysztof Klimonda (kklimonda) wrote :

"from subprocess import *" isn't the "cleanest" way of doing that.
I'd prefer importing only used "symbols" as wildards often obscure source code.
One can, for example, wonder what is PIPE and from where was it imported.

Revision history for this message
xteejx (xteejx) wrote :

I am also having this problem.

Changed in bughelper (Ubuntu):
assignee: nobody → Brian Murray (brian-murray)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bughelper - 0.2.17

---------------
bughelper (0.2.17) karmic; urgency=low

  * Resolve deprecation warning for os.popen3 thanks to Paul Larson
    (LP: #364896)

 -- Brian Murray <email address hidden> Mon, 24 Aug 2009 12:37:38 -0700

Changed in bughelper (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.