Remove the keyed message; raise KeyError if it doesn't exist.
(self, key)
| 339 | return uniq |
| 340 | |
| 341 | def remove(self, key): |
| 342 | """Remove the keyed message; raise KeyError if it doesn't exist.""" |
| 343 | os.remove(os.path.join(self._path, self._lookup(key))) |
| 344 | |
| 345 | def discard(self, key): |
| 346 | """If the keyed message exists, remove it.""" |