#1743: Configs should support __delitem__
-----------------------------+----------------------------------------------
Reporter: jumentous | Owner:
Type: feature-request | Status: new
Priority: minor | Milestone: Future
Component: core | Version: 1.3.1
Keywords: |
-----------------------------+----------------------------------------------
I use Config's to maintain torrent states in my plugin. When the torrent
is removed i remove the state by listening to the TorrentRemovedEvent.
To do this i have to
del config.config[key]
config.save()
As Config already has a __getitem__ and __setitem__ it should really have
a __delitem__ as well.
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/1743>
Deluge <http://deluge-torrent.org/>
Deluge project
--
You received this message because you are subscribed to the Google Groups
"Deluge Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/deluge-dev?hl=en.