storage servers announce that they will support clients as old as v0.8.0

Not that anyone pays attention to what storage servers claim about what versions they will support.
This commit is contained in:
Zooko O'Whielacronx 2008-03-13 09:10:11 -07:00
parent d30f8547db
commit 0aa0efa123

View File

@ -1,4 +1,5 @@
import os, re, weakref, stat, struct, time import os, re, weakref, stat, struct, time
from distutils.version import LooseVersion
from itertools import chain from itertools import chain
from foolscap import Referenceable from foolscap import Referenceable
@ -677,8 +678,7 @@ class StorageServer(service.MultiService, Referenceable):
implements(RIStorageServer, IStatsProducer) implements(RIStorageServer, IStatsProducer)
name = 'storage' name = 'storage'
# we're pretty narrow-minded right now OLDEST_SUPPORTED_VERSION = LooseVersion("0.8.0")
OLDEST_SUPPORTED_VERSION = allmydata.__version__
def __init__(self, storedir, sizelimit=None, def __init__(self, storedir, sizelimit=None,
discard_storage=False, readonly_storage=False, discard_storage=False, readonly_storage=False,