From: Zooko O'Whielacronx <zooko@zooko.com>
Date: Thu, 13 Mar 2008 16:10:11 +0000 (-0700)
Subject: storage servers announce that they will support clients as old as v0.8.0
X-Git-Tag: allmydata-tahoe-0.9.0~8
X-Git-Url: https://git.rkrishnan.org/%5B/frontends/%22news.html/htmlfontify-example.html?a=commitdiff_plain;h=0aa0efa123ad15844eac6da100752e1c6d12606a;p=tahoe-lafs%2Ftahoe-lafs.git

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.
---

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,