From 0aa0efa123ad15844eac6da100752e1c6d12606a Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx Date: Thu, 13 Mar 2008 09:10:11 -0700 Subject: [PATCH] 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. --- src/allmydata/storage.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/allmydata/storage.py b/src/allmydata/storage.py index b63a441d..938a87f9 100644 --- a/src/allmydata/storage.py +++ b/src/allmydata/storage.py @@ -1,4 +1,5 @@ import os, re, weakref, stat, struct, time +from distutils.version import LooseVersion from itertools import chain from foolscap import Referenceable @@ -677,8 +678,7 @@ class StorageServer(service.MultiService, Referenceable): implements(RIStorageServer, IStatsProducer) name = 'storage' - # we're pretty narrow-minded right now - OLDEST_SUPPORTED_VERSION = allmydata.__version__ + OLDEST_SUPPORTED_VERSION = LooseVersion("0.8.0") def __init__(self, storedir, sizelimit=None, discard_storage=False, readonly_storage=False, -- 2.45.2