Ticket #181 (closed defect: fixed)
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
Change History
Note: See
TracTickets for help on using
tickets.

