#7764 BLOC 9.1.0: Reset Registration with school servers - short term solution

Zarro Boogs per Child bugtracker at laptop.org
Tue Oct 7 20:56:31 EDT 2008


#7764: Reset Registration with school servers - short term solution
---------------------------+------------------------------------------------
   Reporter:  kimquirk     |       Owner:  erikos                   
       Type:  enhancement  |      Status:  new                      
   Priority:  blocker      |   Milestone:  9.1.0                    
  Component:  sugar        |     Version:  not specified            
 Resolution:               |    Keywords:  r? joyride-2330:? relnote
Next_action:  review       |    Verified:  0                        
  Blockedby:               |    Blocking:                           
---------------------------+------------------------------------------------

Comment(by erikos):

 This is the clearer patch for sugar.

 {{{
 diff --git a/src/controlpanel/model/network.py
 b/src/controlpanel/model/network.py
 index cbe0473..b70c952 100644
 --- a/src/controlpanel/model/network.py
 +++ b/src/controlpanel/model/network.py
 @@ -87,7 +87,7 @@ def clear_registration():
      """Clear the registration with the schoolserver
      """
      pro = profile.get_profile()
 -    pro.backup1 = None
 +    pro.backup1 = ''
      pro.save()
      return 1
 }}}

-- 
Ticket URL: <http://dev.laptop.org/ticket/7764#comment:19>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list