From: Brian Warner Date: Sun, 2 Sep 2007 22:03:40 +0000 (-0700) Subject: storage: remove get_or_add_owner, since I don't know what we need yet X-Git-Url: https://git.rkrishnan.org/pf/content/statistics?a=commitdiff_plain;h=89c7f27572bd4a58806c7c2fc5ceeb363dc06061;p=tahoe-lafs%2Ftahoe-lafs.git storage: remove get_or_add_owner, since I don't know what we need yet --- diff --git a/src/allmydata/storage.py b/src/allmydata/storage.py index 5132fd4c..396d49d3 100644 --- a/src/allmydata/storage.py +++ b/src/allmydata/storage.py @@ -283,15 +283,6 @@ class StorageServer(service.MultiService, Referenceable): return alreadygot, bucketwriters - def get_or_add_owner(self, owner): - # this will be more fully implemented when we get the Introduction - # protocol built. At that point, it should take the 'owner' argument - # (either a FURL or a Sealer/public-key) and look it up in a - # persistent table, returning a short integer. If the owner doesn't - # yet exist in the table, create a new entry for it and return the - # new index. - return 0 - def remote_renew_lease(self, storage_index, renew_secret): new_expire_time = time.time() + 31*24*60*60 found_buckets = False