mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-12 12:34:43 +00:00
Implement __delitem__
on deluge.config.Config
.
This commit is contained in:
parent
fe12552590
commit
154688a3e2
@ -244,6 +244,9 @@ what is currently in the config and it could not convert the value
|
|||||||
"""
|
"""
|
||||||
return self.get_item(key)
|
return self.get_item(key)
|
||||||
|
|
||||||
|
def __delitem__(self, key):
|
||||||
|
del self.__config[key]
|
||||||
|
|
||||||
def get_item(self, key):
|
def get_item(self, key):
|
||||||
"""
|
"""
|
||||||
Gets the value of item 'key'
|
Gets the value of item 'key'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user