add a missing "self", noticed by nelhage
This commit is contained in:
parent
b9d7d00985
commit
4767f77bc9
@ -140,7 +140,7 @@ class _Profile(object):
|
|||||||
key_hash = util._sha_data(key)
|
key_hash = util._sha_data(key)
|
||||||
self.privkey_hash = util.printable_hash(key_hash)
|
self.privkey_hash = util.printable_hash(key_hash)
|
||||||
|
|
||||||
def set_key(section, key, value):
|
def set_key(self, section, key, value):
|
||||||
cp = ConfigParser()
|
cp = ConfigParser()
|
||||||
config_path = os.path.join(env.get_profile_path(), 'config')
|
config_path = os.path.join(env.get_profile_path(), 'config')
|
||||||
parsed = cp.read([config_path])
|
parsed = cp.read([config_path])
|
||||||
|
Loading…
Reference in New Issue
Block a user