From 4767f77bc9e9b181978e47b15bce55218128f639 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 27 Jul 2007 16:49:33 -0400 Subject: [PATCH] add a missing "self", noticed by nelhage --- sugar/profile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sugar/profile.py b/sugar/profile.py index 1948a6cb..b5e5b519 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])