[Bugs] #181 NORM: replace deprecated os.popen by subprocess

SugarLabs Bugs bugtracker-noreply at sugarlabs.org
Thu Jan 8 11:56:56 EST 2009


#181: replace deprecated os.popen by subprocess
-----------------------------+----------------------------------------------
 Reporter:  alsroot          |       Owner:  tomeu      
     Type:  defect           |      Status:  new        
 Priority:  normal           |   Milestone:             
Component:  sugar-datastore  |     Version:  unspecified
 Keywords:                   |  
-----------------------------+----------------------------------------------
 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

-- 
Ticket URL: <http://dev.sugarlabs.org/ticket/181>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list