Ticket #181 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

replace deprecated os.popen by subprocess

Reported by: alsroot Owned by: tomeu
Priority: normal Milestone:
Component: sugar-datastore Version: Git as of bugdate
Severity: Keywords: r+
Cc: Distribution/OS:
Bug Status:

Description

in python2.6 os.popen is marked as deprecated
I have no idea why it breaks datastore (since thats only warning) but that is fact on Mandriva(cooker) - after calling replaced code (see patch) datastore connections are failed (dbus timeout error).
After replacing os.popen2 by subprocess everything is ok

Attachments

sugar-datastore-popen.patch Download (0.6 KB) - added by alsroot 4 years ago.

Change History

Changed 4 years ago by alsroot

Changed 4 years ago by alsroot

  • keywords r? added

Changed 4 years ago by tomeu

  • keywords r+ added; r? removed
  • status changed from new to closed
  • version changed from unspecified to Git as of bugdate
  • resolution set to fixed

Pushed, thanks!

Note: See TracTickets for help on using tickets.