From b4ce8133fae52d3111fa8198e7bbe430d78485eb Mon Sep 17 00:00:00 2001 From: Brian Muller Date: Tue, 9 Dec 2014 17:02:48 -0500 Subject: [PATCH] paired down storage interface --- kademlia/storage.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/kademlia/storage.py b/kademlia/storage.py index 370b72c..c76d70e 100644 --- a/kademlia/storage.py +++ b/kademlia/storage.py @@ -29,12 +29,6 @@ class IStorage(Interface): Get given key. If not found, return default. """ - def __iter__(): - """ - Get the iterator for this storage, should yield tuple of (key, (birth, value)) - where birth is the float timestamp when the value was set. - """ - def iteritemsOlderThan(secondsOld): """ Return the an iterator over (key, value) tuples for items older than the given secondsOld.