[Bugs] #4493 sugar UNSP: Reboot and Shutdown using ConsoleKit not working

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Mon Apr 29 10:10:14 EDT 2013


#4493: Reboot and Shutdown using ConsoleKit not working
------------------------------------------+---------------------------------
    Reporter:  gaudenz                    |          Owner:  erikos                     
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  sugar                      |        Version:  0.98.x                     
    Severity:  Major                      |       Keywords:                             
Distribution:  Unspecified                |   Status_field:  New                        
------------------------------------------+---------------------------------
 Reboot and Shutdown using ConsoleKit does not work. This is because the
 test for systemd in jarabe/model/session.py always succeeds.

 os.access returns True or False directly no need to check for >=0. This is
 even harmfull as Fals >= 0 evaluates to True in Python! :-(

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


More information about the Bugs mailing list