Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/profile.py
diff options
context:
space:
mode:
authorDan Winship <dwinship@redhat.com>2007-07-27 20:49:33 (GMT)
committer Dan Winship <dwinship@redhat.com>2007-07-27 20:49:33 (GMT)
commit4767f77bc9e9b181978e47b15bce55218128f639 (patch)
treeadca708a03058e1e92ba818d6d2d7f4ee7b55332 /sugar/profile.py
parentb9d7d00985eb524637f54ff33c596ff67dcdc3dc (diff)
add a missing "self", noticed by nelhage
Diffstat (limited to 'sugar/profile.py')
-rw-r--r--sugar/profile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sugar/profile.py b/sugar/profile.py
index 1948a6c..b5e5b51 100644
--- a/sugar/profile.py
+++ b/sugar/profile.py
@@ -140,7 +140,7 @@ class _Profile(object):
key_hash = util._sha_data(key)
self.privkey_hash = util.printable_hash(key_hash)
- def set_key(section, key, value):
+ def set_key(self, section, key, value):
cp = ConfigParser()
config_path = os.path.join(env.get_profile_path(), 'config')
parsed = cp.read([config_path])