add a missing "self", noticed by nelhage

This commit is contained in:
Dan Winship 2007-07-27 16:49:33 -04:00
parent b9d7d00985
commit 4767f77bc9

View File

@ -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])