diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2007-10-12 17:07:02 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <mpg@redhat.com> | 2007-10-12 17:07:02 (GMT) |
commit | c34b5204ace33f06e6b1dfbbb6e0f68724b6d248 (patch) | |
tree | ef7cb5e906566e1daf1d6301c9eb488755f23022 /sugar | |
parent | ab7cd66374e8fb1b28a856d5ec314c3210aa14e8 (diff) |
Registration menu
Diffstat (limited to 'sugar')
-rw-r--r-- | sugar/profile.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sugar/profile.py b/sugar/profile.py index 06084b7..10a2b6c 100644 --- a/sugar/profile.py +++ b/sugar/profile.py @@ -79,6 +79,9 @@ class Profile(object): self.pubkey is not None and \ self.privkey_hash is not None + def is_registered(self): + return self.backup1 is not None + def save(self): cp = ConfigParser() parsed = cp.read([self._config_path]) |