Ticket #1151: profile.patch

File profile.patch, 569 bytes (added by dsd, 15 years ago)

prerequisite patch against sugar's profile.py for reload config functionality

  • profile.py

    old new  
    6666        privkey_hash -- SHA has of the child's public key
    6767    """
    6868    def __init__(self, path):
     69        self._config_path = path
     70        self.reload()
     71
     72    def reload(self):
    6973        self.nick_name = None
    7074        self.color = None
    7175        self.jabber_server = DEFAULT_JABBER_SERVER
     
    8185
    8286        self._pubkey = None
    8387        self._privkey_hash = None
    84         self._config_path = path
    8588
    8689        self._load_config()
    8790