Opened 13 years ago
Closed 13 years ago
#1743 closed feature-request (Invalid)
Configs should support __delitem__
Reported by: | jumentous | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | Future |
Component: | Core | Version: | 1.3.1 |
Keywords: | Cc: |
Description
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.
Change History (2)
comment:1 Changed 13 years ago by jumentous
comment:2 Changed 13 years ago by jumentous
- Resolution set to invalid
- Status changed from new to closed
Ah, this has already been commited to master, i was just working of the PPA version.
Fixed in: 1a6742b1e284d12601bd1d4e227c7489bdd65eb1
Note: See
TracTickets for help on using
tickets.
hmmm, wiki formatting. You get the gist.